diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-03-12 22:43:43 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-03-13 14:27:23 (GMT) |
commit | bc51221164330a24e90cf896300ded637b86d740 (patch) | |
tree | ca91e88f4e5ffceef8d2b0f2cd87918cfc9c422c /Source/cmGeneratorTarget.cxx | |
parent | cd43433de56ab31269a076fb2b2ace8babaa107d (diff) | |
download | CMake-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.cxx')
-rw-r--r-- | Source/cmGeneratorTarget.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx index db88749..1d8d2dd 100644 --- a/Source/cmGeneratorTarget.cxx +++ b/Source/cmGeneratorTarget.cxx @@ -321,7 +321,8 @@ const std::string& cmGeneratorTarget::GetObjectName(cmSourceFile const* file) return this->Objects[file]; } -void cmGeneratorTarget::AddObject(cmSourceFile *sf, std::string const&name) +void cmGeneratorTarget::AddObject(cmSourceFile const* sf, + std::string const&name) { this->Objects[sf] = name; } |