aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/CellBuffer.h')
-rw-r--r--src/CellBuffer.h2
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