diff options
author | Brad King <brad.king@kitware.com> | 2009-04-29 17:33:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-04-29 17:33:05 (GMT) |
commit | 222abaad5bb7ecb9bf3341f15d7a08eaaf44d906 (patch) | |
tree | db267289a863ff12788b12db39ac0c1652971271 /Source/cmFileCommand.cxx | |
parent | e0d3339e655049cc44e27861a5c65ce0dc2ef39a (diff) | |
download | CMake-222abaad5bb7ecb9bf3341f15d7a08eaaf44d906.zip CMake-222abaad5bb7ecb9bf3341f15d7a08eaaf44d906.tar.gz CMake-222abaad5bb7ecb9bf3341f15d7a08eaaf44d906.tar.bz2 |
COMP: Fix non-virtual destructor warning
This gives cmFileCopier a virtual destructor since it has virtual
methods. While we never actually delete through a base pointer (or
dynamically at all), the compiler doesn't know and warns anyway.
Diffstat (limited to 'Source/cmFileCommand.cxx')
-rw-r--r-- | Source/cmFileCommand.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx index cceea97..e45cd07 100644 --- a/Source/cmFileCommand.cxx +++ b/Source/cmFileCommand.cxx @@ -922,6 +922,7 @@ struct cmFileCopier Doing(DoingNone) { } + virtual ~cmFileCopier() {} bool Run(std::vector<std::string> const& args); protected: |