From 9350433499396d804c1343bc772894a248434a47 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 21 Aug 2004 03:24:48 -0400 Subject: added virtual destructor to parser_t --- parser.h | 2 ++ 1 file changed, 2 insertions(+) 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 parsers_list; class parser_t { public: + virtual ~parser_t() {} + virtual bool test(std::istream& in) const = 0; virtual unsigned int parse(std::istream& in, -- cgit v1.2.3