summaryrefslogtreecommitdiffstats
path: root/Source/cmFindPackageCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-01-17 15:32:27 (GMT)
committerBrad King <brad.king@kitware.com>2008-01-17 15:32:27 (GMT)
commit5ef98132dd2f85d7f643470ab5fbfa6c1fa8f665 (patch)
tree63ae5a665f68cd3095998842d739d1fd423bb6a4 /Source/cmFindPackageCommand.cxx
parentec2839c57d013d1aff60e5f9255e86c6c46ab8dc (diff)
downloadCMake-5ef98132dd2f85d7f643470ab5fbfa6c1fa8f665.zip
CMake-5ef98132dd2f85d7f643470ab5fbfa6c1fa8f665.tar.gz
CMake-5ef98132dd2f85d7f643470ab5fbfa6c1fa8f665.tar.bz2
COMP: Fix warning about missing virtual destructor.
Diffstat (limited to 'Source/cmFindPackageCommand.cxx')
-rw-r--r--Source/cmFindPackageCommand.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmFindPackageCommand.cxx b/Source/cmFindPackageCommand.cxx
index 26b5197..24d8c17 100644
--- a/Source/cmFindPackageCommand.cxx
+++ b/Source/cmFindPackageCommand.cxx
@@ -965,6 +965,8 @@ bool cmFindPackageCommand::FindConfigFile(std::string const& dir,
class cmFileList;
class cmFileListGeneratorBase
{
+public:
+ virtual ~cmFileListGeneratorBase() {}
protected:
bool Consider(std::string const& fullPath, cmFileList& listing);
private:
@@ -980,6 +982,7 @@ class cmFileList
{
public:
cmFileList(): First(), Last(0) {}
+ virtual ~cmFileList() {}
cmFileList& operator/(cmFileListGeneratorBase const& rhs)
{
if(this->Last)