diff options
| author | Neil <nyamatongwe@gmail.com> | 2020-06-11 10:08:29 +1000 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2020-06-11 10:08:29 +1000 |
| commit | 877def4f243e1ef5eb39a6132f3969844e00be95 (patch) | |
| tree | 5041a5f52f7d38c026d594f53d3fabc813205221 /src/Document.h | |
| parent | c8136baf0e923ea16cb5e75d75539ca61129925a (diff) | |
| download | scintilla-mirror-877def4f243e1ef5eb39a6132f3969844e00be95.tar.gz | |
Backport: Use noexcept where safe and maintainable.
Backport of changeset 8300:266c8247814e.
Diffstat (limited to 'src/Document.h')
| -rw-r--r-- | src/Document.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Document.h b/src/Document.h index 87582a26e..f56bf01eb 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; |
