summaryrefslogtreecommitdiffstats
path: root/Source/cmProcessTools.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-02-24 16:08:38 (GMT)
committerBrad King <brad.king@kitware.com>2009-02-24 16:08:38 (GMT)
commit5a7ac0def1ca57b542fe6eb03bcda421bec9fca3 (patch)
treec029db1e6261312c1ef69ffa0143f657957d4886 /Source/cmProcessTools.h
parent1936499250425a1d50d70759758c7385b4bdf6d4 (diff)
downloadCMake-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/cmProcessTools.h')
-rw-r--r--Source/cmProcessTools.h2
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. */