[cmake-commits] king committed cmFindPackageCommand.cxx 1.27 1.28

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Jan 17 10:32:29 EST 2008


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv10373/Source

Modified Files:
	cmFindPackageCommand.cxx 
Log Message:
COMP: Fix warning about missing virtual destructor.


Index: cmFindPackageCommand.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmFindPackageCommand.cxx,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- cmFindPackageCommand.cxx	17 Jan 2008 14:02:31 -0000	1.27
+++ cmFindPackageCommand.cxx	17 Jan 2008 15:32:27 -0000	1.28
@@ -965,6 +965,8 @@
 class cmFileList;
 class cmFileListGeneratorBase
 {
+public:
+  virtual ~cmFileListGeneratorBase() {}
 protected:
   bool Consider(std::string const& fullPath, cmFileList& listing);
 private:
@@ -980,6 +982,7 @@
 {
 public:
   cmFileList(): First(), Last(0) {}
+  virtual ~cmFileList() {}
   cmFileList& operator/(cmFileListGeneratorBase const& rhs)
     {
     if(this->Last)



More information about the Cmake-commits mailing list