summaryrefslogtreecommitdiffstats
path: root/Source/cmPropertyDefinitionMap.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-06-06 07:46:38 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-06-07 07:29:30 (GMT)
commit9058e27a431b01319b18cc4099780fa017ada113 (patch)
treeb79fc44b5223b45d94f4fe98b6344341812aef43 /Source/cmPropertyDefinitionMap.cxx
parent1c48edf8fc8cec71c780cbb1c587f10df0ab7185 (diff)
downloadCMake-9058e27a431b01319b18cc4099780fa017ada113.zip
CMake-9058e27a431b01319b18cc4099780fa017ada113.tar.gz
CMake-9058e27a431b01319b18cc4099780fa017ada113.tar.bz2
Constify property definition API.
Diffstat (limited to 'Source/cmPropertyDefinitionMap.cxx')
-rw-r--r--Source/cmPropertyDefinitionMap.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmPropertyDefinitionMap.cxx b/Source/cmPropertyDefinitionMap.cxx
index 3875318..776fad1 100644
--- a/Source/cmPropertyDefinitionMap.cxx
+++ b/Source/cmPropertyDefinitionMap.cxx
@@ -29,9 +29,9 @@ void cmPropertyDefinitionMap
}
}
-bool cmPropertyDefinitionMap::IsPropertyDefined(const std::string& name)
+bool cmPropertyDefinitionMap::IsPropertyDefined(const std::string& name) const
{
- cmPropertyDefinitionMap::iterator it = this->find(name);
+ cmPropertyDefinitionMap::const_iterator it = this->find(name);
if (it == this->end())
{
return false;
@@ -40,9 +40,9 @@ bool cmPropertyDefinitionMap::IsPropertyDefined(const std::string& name)
return true;
}
-bool cmPropertyDefinitionMap::IsPropertyChained(const std::string& name)
+bool cmPropertyDefinitionMap::IsPropertyChained(const std::string& name) const
{
- cmPropertyDefinitionMap::iterator it = this->find(name);
+ cmPropertyDefinitionMap::const_iterator it = this->find(name);
if (it == this->end())
{
return false;