summaryrefslogtreecommitdiffstats
path: root/Source/cmGetPropertyCommand.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/cmGetPropertyCommand.cxx
parent1c48edf8fc8cec71c780cbb1c587f10df0ab7185 (diff)
downloadCMake-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.cxx6
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();