mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 10:50:16 -06:00
cmFindPackageCommand: Protect overrides of cmDirectoryListGenerator
Move virtual function overrides into a protected section of class.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user