COMP: cmProcessTools::OutputParser virtual dtor

This class has virtual methods and therefore should have a virtual
destructor.
This commit is contained in:
Brad King 2009-02-24 11:08:38 -05:00
parent 1936499250
commit 5a7ac0def1
1 changed files with 2 additions and 0 deletions

View File

@ -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. */