diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-06-06 07:46:38 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-06-07 07:29:30 (GMT) |
commit | 9058e27a431b01319b18cc4099780fa017ada113 (patch) | |
tree | b79fc44b5223b45d94f4fe98b6344341812aef43 /Source/cmPropertyDefinitionMap.cxx | |
parent | 1c48edf8fc8cec71c780cbb1c587f10df0ab7185 (diff) | |
download | CMake-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.cxx | 8 |
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; |