Ver Fonte

cmFindPackageCommand: Protect overrides of `cmDirectoryListGenerator`

Move virtual function overrides into a protected section of class.
Alex Turbov há 3 anos atrás
pai
commit
19366408fe
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      Source/cmFindPackageCommand.cxx

+ 2 - 0
Source/cmFindPackageCommand.cxx

@@ -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);