summaryrefslogtreecommitdiffstats
path: root/Source/cmState.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-06-06 07:41:30 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-06-07 07:29:31 (GMT)
commit5181fae264444ad7736614ceb1e78c51def2b97c (patch)
tree6c0577c3bc103de8eef07431260fcb5d1f495d43 /Source/cmState.cxx
parent3ac4b90bfdcca97f1f63056c97afee38cf66ea12 (diff)
downloadCMake-5181fae264444ad7736614ceb1e78c51def2b97c.zip
CMake-5181fae264444ad7736614ceb1e78c51def2b97c.tar.gz
CMake-5181fae264444ad7736614ceb1e78c51def2b97c.tar.bz2
cmPropertyMap: Remove chaining logic.
The chaining logic doesn't belong to the container, and the CMakeInstance pointer doesn't need to be in cmPropertyMap. Size goes from 56 to 48 bytes with GNU libstdc++-5.1.
Diffstat (limited to 'Source/cmState.cxx')
-rw-r--r--Source/cmState.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmState.cxx b/Source/cmState.cxx
index 7bfeda1..25b4966 100644
--- a/Source/cmState.cxx
+++ b/Source/cmState.cxx
@@ -482,9 +482,7 @@ const char *cmState::GetGlobalProperty(const std::string& prop)
return FOR_EACH_CXX_FEATURE(STRING_LIST_ELEMENT) + 1;
}
#undef STRING_LIST_ELEMENT
- bool dummy = false;
- return this->GlobalProperties.GetPropertyValue(prop, cmProperty::GLOBAL,
- dummy);
+ return this->GlobalProperties.GetPropertyValue(prop);
}
bool cmState::GetGlobalPropertyAsBool(const std::string& prop)