summaryrefslogtreecommitdiff
path: root/parse/parseerror.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'parse/parseerror.hpp')
-rw-r--r--parse/parseerror.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/parse/parseerror.hpp b/parse/parseerror.hpp
index 487c1a6e..b708565d 100644
--- a/parse/parseerror.hpp
+++ b/parse/parseerror.hpp
@@ -10,7 +10,7 @@ class Base:
public ::std::exception
{
public:
- ~Base() throw();
+ virtual ~Base() throw();
};
class Todo:
@@ -19,7 +19,7 @@ class Todo:
::std::string m_message;
public:
Todo(::std::string message);
- ~Todo() throw ();
+ virtual ~Todo() throw ();
};
@@ -29,7 +29,7 @@ class BadChar:
char m_char;
public:
BadChar(char character);
- ~BadChar() throw ();
+ virtual ~BadChar() throw ();
};
@@ -40,7 +40,7 @@ class Unexpected:
public:
Unexpected(Token tok);
Unexpected(Token tok, Token exp);
- ~Unexpected() throw ();
+ virtual ~Unexpected() throw ();
};