summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallCommandArguments.cxx
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2018-11-21 19:51:35 (GMT)
committerRegina Pfeifer <regina@mailbox.org>2018-11-21 23:11:37 (GMT)
commit3e6058078433089f145903d25e06dafadeee9629 (patch)
treebbebc4edfd260ba50379e1ce6342bb6a07a53d71 /Source/cmInstallCommandArguments.cxx
parent4e0c75b78f5745d1369867f25a46ab7d158b4469 (diff)
downloadCMake-3e6058078433089f145903d25e06dafadeee9629.zip
CMake-3e6058078433089f145903d25e06dafadeee9629.tar.gz
CMake-3e6058078433089f145903d25e06dafadeee9629.tar.bz2
clang-tidy: Fix readability-static-accessed-through-instance
Enable the check in .clang-tidy and fix all warnings.
Diffstat (limited to 'Source/cmInstallCommandArguments.cxx')
-rw-r--r--Source/cmInstallCommandArguments.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmInstallCommandArguments.cxx b/Source/cmInstallCommandArguments.cxx
index 63bdb00..06eb8a6 100644
--- a/Source/cmInstallCommandArguments.cxx
+++ b/Source/cmInstallCommandArguments.cxx
@@ -183,7 +183,8 @@ bool cmInstallCommandArguments::CheckPermissions()
{
this->PermissionsString.clear();
for (std::string const& perm : this->Permissions.GetVector()) {
- if (!this->CheckPermissions(perm, this->PermissionsString)) {
+ if (!cmInstallCommandArguments::CheckPermissions(
+ perm, this->PermissionsString)) {
return false;
}
}