summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--parser.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/parser.h b/parser.h
index 3ced3432..19ceb35a 100644
--- a/parser.h
+++ b/parser.h
@@ -11,6 +11,8 @@ typedef std::list<parser_t *> parsers_list;
class parser_t
{
public:
+ virtual ~parser_t() {}
+
virtual bool test(std::istream& in) const = 0;
virtual unsigned int parse(std::istream& in,