diff options
author | Neil <nyamatongwe@gmail.com> | 2018-06-10 13:33:03 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-06-10 13:33:03 +1000 |
commit | e511b71359603ee0fb4e90f50c71fe764b453d15 (patch) | |
tree | 1059c02b91d8826cd495b554d5c21079affd0fbe /src/CellBuffer.h | |
parent | f95b5b872cc63bb5e21b0d74c8927b61149c2f85 (diff) | |
download | scintilla-mirror-e511b71359603ee0fb4e90f50c71fe764b453d15.tar.gz |
Backport: Using noexcept for simple functions.
Backport of changeset 7029:c726541dbd11.
Diffstat (limited to 'src/CellBuffer.h')
-rw-r--r-- | src/CellBuffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CellBuffer.h b/src/CellBuffer.h index 838968ec7..f360b2a23 100644 --- a/src/CellBuffer.h +++ b/src/CellBuffer.h @@ -86,7 +86,7 @@ public: // Tentative actions are used for input composition so that it can be undone cleanly void TentativeStart(); void TentativeCommit(); - bool TentativeActive() const { return tentativePoint >= 0; } + bool TentativeActive() const noexcept { return tentativePoint >= 0; } int TentativeSteps(); /// To perform an undo, StartUndo is called to retrieve the number of steps, then UndoStep is |