summaryrefslogtreecommitdiffstats
path: root/Source/cmPropertyMap.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-06-06 07:46:26 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-06-07 07:29:29 (GMT)
commit1c48edf8fc8cec71c780cbb1c587f10df0ab7185 (patch)
tree56ffda5b450c7b0025f0e1d03e0c98ce95a0ce1f /Source/cmPropertyMap.cxx
parent93cc2eef38eab76831916bfee9d6fe16fbaaf4c1 (diff)
downloadCMake-1c48edf8fc8cec71c780cbb1c587f10df0ab7185.zip
CMake-1c48edf8fc8cec71c780cbb1c587f10df0ab7185.tar.gz
CMake-1c48edf8fc8cec71c780cbb1c587f10df0ab7185.tar.bz2
cmProperty: Remove needless Name member.
Size goes from 72 to 40 bytes with GNU libstdc++-5.1.
Diffstat (limited to 'Source/cmPropertyMap.cxx')
-rw-r--r--Source/cmPropertyMap.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmPropertyMap.cxx b/Source/cmPropertyMap.cxx
index 070f6f1..03124dc 100644
--- a/Source/cmPropertyMap.cxx
+++ b/Source/cmPropertyMap.cxx
@@ -40,7 +40,7 @@ void cmPropertyMap::SetProperty(const std::string& name, const char *value,
(void)scope;
cmProperty *prop = this->GetOrCreateProperty(name);
- prop->Set(name,value);
+ prop->Set(value);
}
void cmPropertyMap::AppendProperty(const std::string& name, const char* value,
@@ -54,7 +54,7 @@ void cmPropertyMap::AppendProperty(const std::string& name, const char* value,
(void)scope;
cmProperty *prop = this->GetOrCreateProperty(name);
- prop->Append(name,value,asString);
+ prop->Append(value,asString);
}
const char *cmPropertyMap