diff options
| author | Marc Chevrier <marc.chevrier@gmail.com> | 2021-09-21 17:12:35 +0200 |
|---|---|---|
| committer | Marc Chevrier <marc.chevrier@gmail.com> | 2021-09-21 17:14:04 +0200 |
| commit | cc56dc7468bfee49dedbf395d6fca5c372d200fe (patch) | |
| tree | c4463a4dcdada55ca57cba3713fea88d8d2f3f57 /Source/cmPropertyMap.cxx | |
| parent | 62834c07603e82aafabc082bbbcf74179a4cda27 (diff) | |
| download | cmake-cc56dc7468bfee49dedbf395d6fca5c372d200fe.tar.gz | |
Rename cmProp in cmValue
Diffstat (limited to 'Source/cmPropertyMap.cxx')
| -rw-r--r-- | Source/cmPropertyMap.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmPropertyMap.cxx b/Source/cmPropertyMap.cxx index 8ad3c6f150..b15000f496 100644 --- a/Source/cmPropertyMap.cxx +++ b/Source/cmPropertyMap.cxx @@ -19,7 +19,7 @@ void cmPropertyMap::SetProperty(const std::string& name, const char* value) this->Map_[name] = value; } -void cmPropertyMap::SetProperty(const std::string& name, cmProp value) +void cmPropertyMap::SetProperty(const std::string& name, cmValue value) { if (!value) { this->Map_.erase(name); @@ -51,11 +51,11 @@ void cmPropertyMap::RemoveProperty(const std::string& name) this->Map_.erase(name); } -cmProp cmPropertyMap::GetPropertyValue(const std::string& name) const +cmValue cmPropertyMap::GetPropertyValue(const std::string& name) const { auto it = this->Map_.find(name); if (it != this->Map_.end()) { - return cmProp(it->second); + return cmValue(it->second); } return nullptr; } |
