added virtual destructor to parser_t
This commit is contained in:
parent
8eaa76d11c
commit
9350433499
1 changed files with 2 additions and 0 deletions
2
parser.h
2
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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue