[Cmake-commits] [cmake-commits] king committed cmProcessTools.h 1.1 1.2
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue Feb 24 11:08:40 EST 2009
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv4452/Source
Modified Files:
cmProcessTools.h
Log Message:
COMP: cmProcessTools::OutputParser virtual dtor
This class has virtual methods and therefore should have a virtual
destructor.
Index: cmProcessTools.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmProcessTools.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** cmProcessTools.h 24 Feb 2009 15:40:18 -0000 1.1
--- cmProcessTools.h 24 Feb 2009 16:08:38 -0000 1.2
***************
*** 36,39 ****
--- 36,41 ----
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
More information about the Cmake-commits
mailing list