diff options
Diffstat (limited to 'lexlib/SparseState.h')
-rw-r--r-- | lexlib/SparseState.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lexlib/SparseState.h b/lexlib/SparseState.h index bd74ecef2..94aa929ef 100644 --- a/lexlib/SparseState.h +++ b/lexlib/SparseState.h @@ -57,7 +57,7 @@ public: return states[states.size()-1].value; } else { if (low->position > position) { - low--; + --low; } return low->value; } @@ -93,7 +93,7 @@ public: } typename stateVector::const_iterator startOther = other.states.begin(); if (!states.empty() && states.back().value == startOther->value) - startOther++; + ++startOther; if (startOther != other.states.end()) { states.insert(states.end(), startOther, other.states.end()); changed = true; |