summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-03-13 11:28:32 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-03-13 14:27:23 (GMT)
commit6132d979d9d7877f5b116a2a110245adbb89e1b7 (patch)
tree9115a5608d5dc3b62b278a7eecb639aaf68f11d8 /Source/cmGeneratorTarget.h
parentbc51221164330a24e90cf896300ded637b86d740 (diff)
downloadCMake-6132d979d9d7877f5b116a2a110245adbb89e1b7.zip
CMake-6132d979d9d7877f5b116a2a110245adbb89e1b7.tar.gz
CMake-6132d979d9d7877f5b116a2a110245adbb89e1b7.tar.bz2
cmGeneratorTarget: Constify the AddExplicitObjectName API.
The storage is already const.
Diffstat (limited to 'Source/cmGeneratorTarget.h')
-rw-r--r--Source/cmGeneratorTarget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h
index e5ed271..d1a0e06 100644
--- a/Source/cmGeneratorTarget.h
+++ b/Source/cmGeneratorTarget.h
@@ -37,7 +37,7 @@ public:
void AddObject(cmSourceFile const* sf, std::string const&name);
bool HasExplicitObjectName(cmSourceFile const* file) const;
- void AddExplicitObjectName(cmSourceFile* sf);
+ void AddExplicitObjectName(cmSourceFile const* sf);
void GetResxSources(std::vector<cmSourceFile*>&) const;
void GetIDLSources(std::vector<cmSourceFile*>&) const;