aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2020-06-11 10:08:29 +1000
committerNeil <nyamatongwe@gmail.com>2020-06-11 10:08:29 +1000
commita2931677c6e28aad5ddd56d82e5a8814746dc5fd (patch)
treed8c143a1ebcb4e91717d241c38ec43bf1da9e6ac /src/Document.h
parentb34e1a6efefd7b39f14daa867510b2e2d453a0bb (diff)
downloadscintilla-mirror-a2931677c6e28aad5ddd56d82e5a8814746dc5fd.tar.gz
Use noexcept where safe and maintainable.
Diffstat (limited to 'src/Document.h')
-rw-r--r--src/Document.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Document.h b/src/Document.h
index 2ff0e8b27..a1017810e 100644
--- a/src/Document.h
+++ b/src/Document.h
@@ -366,7 +366,7 @@ public:
bool TentativeActive() const noexcept { return cb.TentativeActive(); }
const char * SCI_METHOD BufferPointer() override { return cb.BufferPointer(); }
- const char *RangePointer(Sci::Position position, Sci::Position rangeLength) { return cb.RangePointer(position, rangeLength); }
+ const char *RangePointer(Sci::Position position, Sci::Position rangeLength) noexcept { return cb.RangePointer(position, rangeLength); }
Sci::Position GapPosition() const noexcept { return cb.GapPosition(); }
int SCI_METHOD GetLineIndentation(Sci_Position line) override;