diff options
author | Regina Pfeifer <regina@mailbox.org> | 2018-11-21 20:51:35 +0100 |
---|---|---|
committer | Regina Pfeifer <regina@mailbox.org> | 2018-11-22 00:11:37 +0100 |
commit | 3e6058078433089f145903d25e06dafadeee9629 (patch) | |
tree | bbebc4edfd260ba50379e1ce6342bb6a07a53d71 /Source/CPack/IFW/cmCPackIFWPackage.cxx | |
parent | 4e0c75b78f5745d1369867f25a46ab7d158b4469 (diff) | |
download | cmake-3e6058078433089f145903d25e06dafadeee9629.tar.gz |
clang-tidy: Fix readability-static-accessed-through-instance
Enable the check in .clang-tidy and fix all warnings.
Diffstat (limited to 'Source/CPack/IFW/cmCPackIFWPackage.cxx')
-rw-r--r-- | Source/CPack/IFW/cmCPackIFWPackage.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CPack/IFW/cmCPackIFWPackage.cxx b/Source/CPack/IFW/cmCPackIFWPackage.cxx index 67e279c6b9..c96b5d41fc 100644 --- a/Source/CPack/IFW/cmCPackIFWPackage.cxx +++ b/Source/CPack/IFW/cmCPackIFWPackage.cxx @@ -359,7 +359,7 @@ int cmCPackIFWPackage::ConfigureFromPrefix(const std::string& prefix) if (this->IsSetToEmpty(option)) { this->DisplayName.clear(); } else if (const char* value = this->GetOption(option)) { - this->ExpandListArgument(value, this->DisplayName); + cmCPackIFWPackage::ExpandListArgument(value, this->DisplayName); } // Description @@ -367,7 +367,7 @@ int cmCPackIFWPackage::ConfigureFromPrefix(const std::string& prefix) if (this->IsSetToEmpty(option)) { this->Description.clear(); } else if (const char* value = this->GetOption(option)) { - this->ExpandListArgument(value, this->Description); + cmCPackIFWPackage::ExpandListArgument(value, this->Description); } // Release date |