mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-18 13:10:17 -06:00
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.
This commit is contained in:
@@ -922,6 +922,7 @@ struct cmFileCopier
|
||||
Doing(DoingNone)
|
||||
{
|
||||
}
|
||||
virtual ~cmFileCopier() {}
|
||||
|
||||
bool Run(std::vector<std::string> const& args);
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user