COMP: Fix warning about missing virtual destructor.
This commit is contained in:
parent
ec2839c57d
commit
5ef98132dd
|
@ -965,6 +965,8 @@ bool cmFindPackageCommand::FindConfigFile(std::string const& dir,
|
||||||
class cmFileList;
|
class cmFileList;
|
||||||
class cmFileListGeneratorBase
|
class cmFileListGeneratorBase
|
||||||
{
|
{
|
||||||
|
public:
|
||||||
|
virtual ~cmFileListGeneratorBase() {}
|
||||||
protected:
|
protected:
|
||||||
bool Consider(std::string const& fullPath, cmFileList& listing);
|
bool Consider(std::string const& fullPath, cmFileList& listing);
|
||||||
private:
|
private:
|
||||||
|
@ -980,6 +982,7 @@ class cmFileList
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
cmFileList(): First(), Last(0) {}
|
cmFileList(): First(), Last(0) {}
|
||||||
|
virtual ~cmFileList() {}
|
||||||
cmFileList& operator/(cmFileListGeneratorBase const& rhs)
|
cmFileList& operator/(cmFileListGeneratorBase const& rhs)
|
||||||
{
|
{
|
||||||
if(this->Last)
|
if(this->Last)
|
||||||
|
|
Loading…
Reference in New Issue