summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-03-12 22:43:43 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-03-13 14:27:23 (GMT)
commitbc51221164330a24e90cf896300ded637b86d740 (patch)
treeca91e88f4e5ffceef8d2b0f2cd87918cfc9c422c /Source/cmGeneratorTarget.h
parentcd43433de56ab31269a076fb2b2ace8babaa107d (diff)
downloadCMake-bc51221164330a24e90cf896300ded637b86d740.zip
CMake-bc51221164330a24e90cf896300ded637b86d740.tar.gz
CMake-bc51221164330a24e90cf896300ded637b86d740.tar.bz2
cmGeneratorTarget: Constify the AddObject 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 81a447f..e5ed271 100644
--- a/Source/cmGeneratorTarget.h
+++ b/Source/cmGeneratorTarget.h
@@ -35,7 +35,7 @@ public:
void GetObjectSources(std::vector<cmSourceFile*> &) const;
const std::string& GetObjectName(cmSourceFile const* file);
- void AddObject(cmSourceFile *sf, std::string const&name);
+ void AddObject(cmSourceFile const* sf, std::string const&name);
bool HasExplicitObjectName(cmSourceFile const* file) const;
void AddExplicitObjectName(cmSourceFile* sf);