aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlib/StyleContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'lexlib/StyleContext.h')
-rw-r--r--lexlib/StyleContext.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lexlib/StyleContext.h b/lexlib/StyleContext.h
index 6c617a098..c9ff4efbb 100644
--- a/lexlib/StyleContext.h
+++ b/lexlib/StyleContext.h
@@ -100,7 +100,7 @@ public:
styler.ColourTo(currentPos - ((currentPos > lengthDocument) ? 2 : 1), state);
styler.Flush();
}
- bool More() const {
+ bool More() const noexcept {
return currentPos < endPos;
}
void Forward() {
@@ -139,7 +139,7 @@ public:
}
}
}
- void ChangeState(int state_) {
+ void ChangeState(int state_) noexcept {
state = state_;
}
void SetState(int state_) {