diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2005-12-27 20:36:39 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2005-12-27 20:36:39 (GMT) |
commit | ee58a783b27d50fa8545867108566dc0f3a1e026 (patch) | |
tree | 0e4517c465cd2c2702cd62de3f3f29bc068bc1da /src/parserintf.h | |
parent | ed2cf9f703481e2b5fcf2b19f534d7228d48f0ed (diff) | |
download | Doxygen-ee58a783b27d50fa8545867108566dc0f3a1e026.zip Doxygen-ee58a783b27d50fa8545867108566dc0f3a1e026.tar.gz Doxygen-ee58a783b27d50fa8545867108566dc0f3a1e026.tar.bz2 |
Release-1.4.5-20051227
Diffstat (limited to 'src/parserintf.h')
-rw-r--r-- | src/parserintf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/parserintf.h b/src/parserintf.h index ce1f649..61bed85 100644 --- a/src/parserintf.h +++ b/src/parserintf.h @@ -34,6 +34,7 @@ class MemberDef; class ParserInterface { public: + virtual ~ParserInterface() {} /** Parses a single input file with the goal to build an Entry tree. * @param[in] fileName The full name of the file. * @param[in] fileBuf The contents of the file (zero terminated). @@ -113,7 +114,7 @@ class ParserManager * a given input file. */ ParserManager(ParserInterface *defaultParser) - : m_defaultParser(defaultParser) {} + : m_defaultParser(defaultParser) { m_parsers.setAutoDelete(TRUE); } /** Registers an additional parser. * @param[in] extension The file extension that will trigger |