From 5a7ac0def1ca57b542fe6eb03bcda421bec9fca3 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 24 Feb 2009 11:08:38 -0500 Subject: COMP: cmProcessTools::OutputParser virtual dtor This class has virtual methods and therefore should have a virtual destructor. --- Source/cmProcessTools.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/cmProcessTools.h') diff --git a/Source/cmProcessTools.h b/Source/cmProcessTools.h index c438527dac..f8b2c52566 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. */ -- cgit v1.2.1