Forráskód Böngészése

cmFindPackageCommand: Protect overrides of `cmDirectoryListGenerator`

Move virtual function overrides into a protected section of class.
Alex Turbov 3 éve
szülő
commit
19366408fe
1 módosított fájl, 2 hozzáadás és 0 törlés
  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);