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/cmGetPropertyCommand.cxx | |
parent | 1c48edf8fc8cec71c780cbb1c587f10df0ab7185 (diff) | |
download | CMake-9058e27a431b01319b18cc4099780fa017ada113.zip CMake-9058e27a431b01319b18cc4099780fa017ada113.tar.gz CMake-9058e27a431b01319b18cc4099780fa017ada113.tar.bz2 |
Constify property definition API.
Diffstat (limited to 'Source/cmGetPropertyCommand.cxx')
-rw-r--r-- | Source/cmGetPropertyCommand.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmGetPropertyCommand.cxx b/Source/cmGetPropertyCommand.cxx index 250bd35..36b6c64 100644 --- a/Source/cmGetPropertyCommand.cxx +++ b/Source/cmGetPropertyCommand.cxx @@ -142,8 +142,7 @@ bool cmGetPropertyCommand { // Lookup brief documentation. std::string output; - if(cmPropertyDefinition* def = - this->Makefile->GetState()-> + if(cmPropertyDefinition const* def = this->Makefile->GetState()-> GetPropertyDefinition(this->PropertyName, scope)) { output = def->GetShortDescription(); @@ -158,8 +157,7 @@ bool cmGetPropertyCommand { // Lookup full documentation. std::string output; - if(cmPropertyDefinition* def = - this->Makefile->GetState()-> + if(cmPropertyDefinition const* def = this->Makefile->GetState()-> GetPropertyDefinition(this->PropertyName, scope)) { output = def->GetFullDescription(); |