diff options
author | Neil <nyamatongwe@gmail.com> | 2020-07-16 19:55:15 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2020-07-16 19:55:15 +1000 |
commit | b3c9933350e5c6b9d06a72034e681cecae52dc4b (patch) | |
tree | a733fba3b608ba75f4c55ec27cc6026697fdd3b0 /lexlib/LexAccessor.h | |
parent | 08b502cac1f88bc511c324ab7eb23d34c4318bd7 (diff) | |
download | scintilla-mirror-b3c9933350e5c6b9d06a72034e681cecae52dc4b.tar.gz |
Add constexpr, const, noexcept and make other small improvements to lexlib.
Diffstat (limited to 'lexlib/LexAccessor.h')
-rw-r--r-- | lexlib/LexAccessor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlib/LexAccessor.h b/lexlib/LexAccessor.h index e11535bf7..658eb6e6d 100644 --- a/lexlib/LexAccessor.h +++ b/lexlib/LexAccessor.h @@ -77,7 +77,7 @@ public: } return buf[position - startPos]; } - IDocument *MultiByteAccess() const { + IDocument *MultiByteAccess() const noexcept { return pAccess; } /** Safe version of operator[], returning a defined value for invalid position. */ |