summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallCommandArguments.cxx
diff options
context:
space:
mode:
authorMatthias Maennich <matthias@maennich.net>2017-10-05 12:37:35 (GMT)
committerMatthias Maennich <matthias@maennich.net>2017-10-05 12:53:52 (GMT)
commitb32b717b69063698001c8c39737bcf690763c97c (patch)
tree554f9eb1a4fa481c3f4518a7a92da6a428825948 /Source/cmInstallCommandArguments.cxx
parent7eaa964e9b6619dfe3b14ebdf80026e898a9a931 (diff)
downloadCMake-b32b717b69063698001c8c39737bcf690763c97c.zip
CMake-b32b717b69063698001c8c39737bcf690763c97c.tar.gz
CMake-b32b717b69063698001c8c39737bcf690763c97c.tar.bz2
cmInstallCommandArguments: do not access static members through `this`
Diffstat (limited to 'Source/cmInstallCommandArguments.cxx')
-rw-r--r--Source/cmInstallCommandArguments.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmInstallCommandArguments.cxx b/Source/cmInstallCommandArguments.cxx
index ff6420d..12abac8 100644
--- a/Source/cmInstallCommandArguments.cxx
+++ b/Source/cmInstallCommandArguments.cxx
@@ -39,7 +39,7 @@ const std::string& cmInstallCommandArguments::GetDestination() const
if (this->GenericArguments != nullptr) {
return this->GenericArguments->GetDestination();
}
- return this->EmptyString;
+ return EmptyString;
}
const std::string& cmInstallCommandArguments::GetComponent() const
@@ -65,7 +65,7 @@ const std::string& cmInstallCommandArguments::GetRename() const
if (this->GenericArguments != nullptr) {
return this->GenericArguments->GetRename();
}
- return this->EmptyString;
+ return EmptyString;
}
const std::string& cmInstallCommandArguments::GetPermissions() const
@@ -76,7 +76,7 @@ const std::string& cmInstallCommandArguments::GetPermissions() const
if (this->GenericArguments != nullptr) {
return this->GenericArguments->GetPermissions();
}
- return this->EmptyString;
+ return EmptyString;
}
bool cmInstallCommandArguments::GetOptional() const