summaryrefslogtreecommitdiff
path: root/src/parsing.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/parsing.h')
-rw-r--r--src/parsing.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parsing.h b/src/parsing.h
index 6eecb38f2..97fc88432 100644
--- a/src/parsing.h
+++ b/src/parsing.h
@@ -40,7 +40,7 @@ struct ParseException {
ParseException(std::string text) : text(text), line(-1), col(-1) {}
ParseException(std::string text, size_t line, size_t col) : text(text), line(line), col(col) {}
- void dump(std::ostream& o) {
+ void dump(std::ostream& o) const {
Colors::magenta(o);
o << "[";
Colors::red(o);
@@ -63,7 +63,7 @@ struct MapParseException {
MapParseException() : text("unknown parse error") {}
MapParseException(std::string text) : text(text) {}
- void dump(std::ostream& o) {
+ void dump(std::ostream& o) const {
Colors::magenta(o);
o << "[";
Colors::red(o);