summaryrefslogtreecommitdiff
path: root/src/parse/token.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse/token.hpp')
-rw-r--r--src/parse/token.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse/token.hpp b/src/parse/token.hpp
index 39d3654f..5fdcbc77 100644
--- a/src/parse/token.hpp
+++ b/src/parse/token.hpp
@@ -122,7 +122,7 @@ public:
)
throw "";
}
- bool operator!=(const Token& r) { return !(*this == r); }
+ bool operator!=(const Token& r) const { return !(*this == r); }
::std::string to_str() const;