cmFindPackageCommand: Protect overrides of cmDirectoryListGenerator

Move virtual function overrides into a protected section of class.
This commit is contained in:
Alex Turbov
2022-08-03 21:43:29 +04:00
committed by Brad King
parent e55c154c5b
commit 19366408fe

View File

@@ -291,6 +291,7 @@ public:
{
}
protected:
void OnMatchesLoaded() override
{
// check if there is a specific sorting order to perform
@@ -316,6 +317,7 @@ public:
{
}
protected:
std::string TransformNameBeforeCmp(std::string name) override
{
return cmStrCat(name, this->Extension);