diff options
author | Neil <nyamatongwe@gmail.com> | 2022-10-19 15:23:02 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2022-10-19 15:23:02 +1100 |
commit | b8ba34f03cb1808aa47dce0fe06e81d372a9702c (patch) | |
tree | 53da405d165ec56538cb9356d4afca10029b9a3a /src/Document.h | |
parent | e30c35b1efc7be12ea10d02028b11bf4eb6e2cea (diff) | |
download | scintilla-mirror-b8ba34f03cb1808aa47dce0fe06e81d372a9702c.tar.gz |
Fix noexcept warnings from recent changes.
Diffstat (limited to 'src/Document.h')
-rw-r--r-- | src/Document.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Document.h b/src/Document.h index f08e0a302..114316d37 100644 --- a/src/Document.h +++ b/src/Document.h @@ -416,6 +416,7 @@ public: cb.GetCharRange(buffer, position, lengthRetrieve); } char SCI_METHOD StyleAt(Sci_Position position) const override { return cb.StyleAt(position); } + char StyleAtNoExcept(Sci_Position position) const noexcept { return cb.StyleAt(position); } int StyleIndexAt(Sci_Position position) const noexcept { return static_cast<unsigned char>(cb.StyleAt(position)); } void GetStyleRange(unsigned char *buffer, Sci::Position position, Sci::Position lengthRetrieve) const { cb.GetStyleRange(buffer, position, lengthRetrieve); |