aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/ChangeHistory.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ChangeHistory.cxx b/src/ChangeHistory.cxx
index 4c771a93c..09eb51b73 100644
--- a/src/ChangeHistory.cxx
+++ b/src/ChangeHistory.cxx
@@ -45,7 +45,7 @@ void ChangeStack::PushDeletion(Sci::Position positionDeletion, int edition) {
void ChangeStack::PushInsertion(Sci::Position positionInsertion, Sci::Position length, int edition) {
steps.back()++;
insertions.push_back({ positionInsertion, length, edition, InsertionSpan::Direction::insertion });
-};
+}
size_t ChangeStack::PopStep() noexcept {
const size_t spans = steps.back();