From 19366408fe4fedaec19e7e964adb02d090e8c0b7 Mon Sep 17 00:00:00 2001 From: Alex Turbov Date: Wed, 3 Aug 2022 21:43:29 +0400 Subject: cmFindPackageCommand: Protect overrides of `cmDirectoryListGenerator` Move virtual function overrides into a protected section of class. --- Source/cmFindPackageCommand.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/cmFindPackageCommand.cxx b/Source/cmFindPackageCommand.cxx index 92e98c5..3f8378b 100644 --- a/Source/cmFindPackageCommand.cxx +++ b/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); -- cgit v0.12