From cc56dc7468bfee49dedbf395d6fca5c372d200fe Mon Sep 17 00:00:00 2001 From: Marc Chevrier Date: Tue, 21 Sep 2021 17:12:35 +0200 Subject: Rename cmProp in cmValue --- Source/cmPropertyMap.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/cmPropertyMap.cxx') 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; } -- cgit v1.2.1