diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2005-12-27 20:36:39 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2005-12-27 20:36:39 (GMT) |
commit | d4da97f32ddc6c44df781b3b7b762be0101b9bac (patch) | |
tree | 0e4517c465cd2c2702cd62de3f3f29bc068bc1da /src/parserintf.h | |
parent | cbb944eb7796b2501628c65de1c014d7cca48dcd (diff) | |
download | Doxygen-d4da97f32ddc6c44df781b3b7b762be0101b9bac.zip Doxygen-d4da97f32ddc6c44df781b3b7b762be0101b9bac.tar.gz Doxygen-d4da97f32ddc6c44df781b3b7b762be0101b9bac.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 |