summaryrefslogtreecommitdiff
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-03-13 12:28:32 +0100
committerStephen Kelly <steveire@gmail.com>2014-03-13 15:27:23 +0100
commit6132d979d9d7877f5b116a2a110245adbb89e1b7 (patch)
tree9115a5608d5dc3b62b278a7eecb639aaf68f11d8 /Source/cmGeneratorTarget.cxx
parentbc51221164330a24e90cf896300ded637b86d740 (diff)
downloadcmake-6132d979d9d7877f5b116a2a110245adbb89e1b7.tar.gz
cmGeneratorTarget: Constify the AddExplicitObjectName API.
The storage is already const.
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r--Source/cmGeneratorTarget.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index 1d8d2ddf4b..4d335cdbb0 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -328,7 +328,7 @@ void cmGeneratorTarget::AddObject(cmSourceFile const* sf,
}
//----------------------------------------------------------------------------
-void cmGeneratorTarget::AddExplicitObjectName(cmSourceFile* sf)
+void cmGeneratorTarget::AddExplicitObjectName(cmSourceFile const* sf)
{
this->ExplicitObjectName.insert(sf);
}