mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-06 04:03:27 +03:00
cmInstallCommandArguments: do not access static members through this
This commit is contained in:
1 parent
7eaa964e9b
commit
b32b717b69
1 file changed
+3
-3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user