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 | 2d87b5e5e8058c3ca4f574deb08305e3ae5812ff (patch) | |
tree | 52901b7addc1c3ee2195e9d6133fe3572b74502e /src/CellBuffer.h | |
parent | dc54c96dc1a32afeae5705360b7f6cc8b51c887e (diff) | |
download | scintilla-mirror-2d87b5e5e8058c3ca4f574deb08305e3ae5812ff.tar.gz |
Using noexcept for simple functions.
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 |