summaryrefslogtreecommitdiffstats
path: root/Source/cmPropertyMap.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-06-06 07:41:15 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-06-07 07:29:30 (GMT)
commit7c0aa672fe4f1b5c4a15a89d90cd80009a1399d0 (patch)
tree299fc93196e6df18e1340f50b094df8924b69ded /Source/cmPropertyMap.cxx
parent9058e27a431b01319b18cc4099780fa017ada113 (diff)
downloadCMake-7c0aa672fe4f1b5c4a15a89d90cd80009a1399d0.zip
CMake-7c0aa672fe4f1b5c4a15a89d90cd80009a1399d0.tar.gz
CMake-7c0aa672fe4f1b5c4a15a89d90cd80009a1399d0.tar.bz2
cmPropertyMap: Remove scope parameter from API where not used.
Diffstat (limited to 'Source/cmPropertyMap.cxx')
-rw-r--r--Source/cmPropertyMap.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/cmPropertyMap.cxx b/Source/cmPropertyMap.cxx
index 03124dc..d1402c8 100644
--- a/Source/cmPropertyMap.cxx
+++ b/Source/cmPropertyMap.cxx
@@ -29,29 +29,26 @@ cmProperty *cmPropertyMap::GetOrCreateProperty(const std::string& name)
return prop;
}
-void cmPropertyMap::SetProperty(const std::string& name, const char *value,
- cmProperty::ScopeType scope)
+void cmPropertyMap::SetProperty(const std::string& name, const char *value)
{
if(!value)
{
this->erase(name);
return;
}
- (void)scope;
cmProperty *prop = this->GetOrCreateProperty(name);
prop->Set(value);
}
void cmPropertyMap::AppendProperty(const std::string& name, const char* value,
- cmProperty::ScopeType scope, bool asString)
+ bool asString)
{
// Skip if nothing to append.
if(!value || !*value)
{
return;
}
- (void)scope;
cmProperty *prop = this->GetOrCreateProperty(name);
prop->Append(value,asString);