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:
parent
e0d3339e65
commit
222abaad5b
|
@ -922,6 +922,7 @@ struct cmFileCopier
|
||||||
Doing(DoingNone)
|
Doing(DoingNone)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
virtual ~cmFileCopier() {}
|
||||||
|
|
||||||
bool Run(std::vector<std::string> const& args);
|
bool Run(std::vector<std::string> const& args);
|
||||||
protected:
|
protected:
|
||||||
|
|
Loading…
Reference in New Issue