summaryrefslogtreecommitdiff
path: root/include/exceptions.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/exceptions.hpp')
-rw-r--r--include/exceptions.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/exceptions.hpp b/include/exceptions.hpp
index 4b5fcfa..050779d 100644
--- a/include/exceptions.hpp
+++ b/include/exceptions.hpp
@@ -12,7 +12,7 @@ private:
std::string error_msg;
public:
explicit Exception(const std::string &error_msg): error_msg(error_msg){}
- std::string showMsg();
+ std::string showMsg() const;
};
class LexerException: public Exception{