diff options
author | John Wiegley <johnw@newartisans.com> | 2004-08-21 03:24:48 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-08-21 03:24:48 -0400 |
commit | 9350433499396d804c1343bc772894a248434a47 (patch) | |
tree | 980ef37f4de510baaf984651790de7ed5b2f793c | |
parent | 8eaa76d11c43981ca4ac6b57accc419e7e90e3fe (diff) | |
download | fork-ledger-9350433499396d804c1343bc772894a248434a47.tar.gz fork-ledger-9350433499396d804c1343bc772894a248434a47.tar.bz2 fork-ledger-9350433499396d804c1343bc772894a248434a47.zip |
added virtual destructor to parser_t
-rw-r--r-- | parser.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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, |