summaryrefslogtreecommitdiff
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-12-10 15:44:39 +0100
committerStephen Kelly <steveire@gmail.com>2013-12-11 15:30:11 +0100
commita54eeddaae8c30a6cdc71eb81d7f968147a7e4dc (patch)
tree13be82d97660098a3e553ff3717426c9e1df7f32 /Source/cmGlobalGenerator.cxx
parent9edee62f280de840096651a817b765a38ec6d090 (diff)
downloadcmake-a54eeddaae8c30a6cdc71eb81d7f968147a7e4dc.tar.gz
Constify cmGeneratorTarget access.
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r--Source/cmGlobalGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 91a75949e6..e4a9246216 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -1432,7 +1432,8 @@ void cmGlobalGenerator::ClearGeneratorMembers()
}
//----------------------------------------------------------------------------
-cmGeneratorTarget* cmGlobalGenerator::GetGeneratorTarget(cmTarget* t) const
+cmGeneratorTarget*
+cmGlobalGenerator::GetGeneratorTarget(cmTarget const* t) const
{
cmGeneratorTargetsType::const_iterator ti = this->GeneratorTargets.find(t);
if(ti == this->GeneratorTargets.end())