diff options
author | Brad King <brad.king@kitware.com> | 2008-01-17 15:32:27 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-01-17 15:32:27 (GMT) |
commit | 5ef98132dd2f85d7f643470ab5fbfa6c1fa8f665 (patch) | |
tree | 63ae5a665f68cd3095998842d739d1fd423bb6a4 /Source/cmFindPackageCommand.cxx | |
parent | ec2839c57d013d1aff60e5f9255e86c6c46ab8dc (diff) | |
download | CMake-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.cxx | 3 |
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) |