浏览代码

cmFindPackageCommand: Protect overrides of `cmDirectoryListGenerator`

Move virtual function overrides into a protected section of class.
Alex Turbov 3 年之前
父节点
当前提交
19366408fe
共有 1 个文件被更改,包括 2 次插入0 次删除
  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);