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:
Brad King 2009-04-29 13:33:05 -04:00
parent e0d3339e65
commit 222abaad5b
1 changed files with 1 additions and 0 deletions

View File

@ -922,6 +922,7 @@ struct cmFileCopier
Doing(DoingNone)
{
}
virtual ~cmFileCopier() {}
bool Run(std::vector<std::string> const& args);
protected: