diff options
author | Brad King <brad.king@kitware.com> | 2009-02-24 16:08:38 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-02-24 16:08:38 (GMT) |
commit | 5a7ac0def1ca57b542fe6eb03bcda421bec9fca3 (patch) | |
tree | c029db1e6261312c1ef69ffa0143f657957d4886 /Source | |
parent | 1936499250425a1d50d70759758c7385b4bdf6d4 (diff) | |
download | CMake-5a7ac0def1ca57b542fe6eb03bcda421bec9fca3.zip CMake-5a7ac0def1ca57b542fe6eb03bcda421bec9fca3.tar.gz CMake-5a7ac0def1ca57b542fe6eb03bcda421bec9fca3.tar.bz2 |
COMP: cmProcessTools::OutputParser virtual dtor
This class has virtual methods and therefore should have a virtual
destructor.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmProcessTools.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmProcessTools.h b/Source/cmProcessTools.h index c438527..f8b2c52 100644 --- a/Source/cmProcessTools.h +++ b/Source/cmProcessTools.h @@ -35,6 +35,8 @@ public: in any more data and false if it is done. */ bool Process(const char* data, int length) { return this->ProcessChunk(data, length); } + + virtual ~OutputParser() {} protected: /** Implement in a subclass to process a chunk of data. It should return true only if it is interested in more data. */ |