aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlib/LexAccessor.h
diff options
context:
space:
mode:
authormitchell <unknown>2020-07-19 19:58:28 -0400
committermitchell <unknown>2020-07-19 19:58:28 -0400
commitcf3c77c09d71cd4b1ebf8e7fe05a9485d182387e (patch)
tree1e0ff0b323889d275fea6c1c79258fc4a2a39942 /lexlib/LexAccessor.h
parent834c5671ca91a6fa80c945fa2fe0d750b6cc7dff (diff)
downloadscintilla-mirror-cf3c77c09d71cd4b1ebf8e7fe05a9485d182387e.tar.gz
Backport: Add constexpr, const, noexcept and make other small improvements to lexlib.
Backport of changeset 8416:06a43e06a8e0.
Diffstat (limited to 'lexlib/LexAccessor.h')
-rw-r--r--lexlib/LexAccessor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlib/LexAccessor.h b/lexlib/LexAccessor.h
index 19fc186d0..81f5a16ae 100644
--- a/lexlib/LexAccessor.h
+++ b/lexlib/LexAccessor.h
@@ -77,7 +77,7 @@ public:
}
return buf[position - startPos];
}
- IDocumentWithLineEnd *MultiByteAccess() const {
+ IDocumentWithLineEnd *MultiByteAccess() const noexcept {
if (documentVersion >= dvLineEnd) {
return static_cast<IDocumentWithLineEnd *>(pAccess);
}