mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-03 20:29:56 -06:00
COMP: cmProcessTools::OutputParser virtual dtor
This class has virtual methods and therefore should have a virtual destructor.
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user