diff options
author | Stephen Kelly <steveire@gmail.com> | 2016-10-09 08:47:44 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2016-10-09 08:47:44 (GMT) |
commit | 2a49d86d5dec66f7696bd7063459f504cc336a5e (patch) | |
tree | da0dd4f4b3ea9242d921a3421d90acb207b50786 /Source/cmMakefileTargetGenerator.cxx | |
parent | b0301db23b12351720993a351fedf081ca0fa444 (diff) | |
download | CMake-2a49d86d5dec66f7696bd7063459f504cc336a5e.zip CMake-2a49d86d5dec66f7696bd7063459f504cc336a5e.tar.gz CMake-2a49d86d5dec66f7696bd7063459f504cc336a5e.tar.bz2 |
Makefiles: Inline only use of method
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileTargetGenerator.cxx | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx index 99a7fae..44ced11 100644 --- a/Source/cmMakefileTargetGenerator.cxx +++ b/Source/cmMakefileTargetGenerator.cxx @@ -1217,13 +1217,6 @@ void cmMakefileTargetGenerator::WriteObjectsVariable( << "\n"; } -void cmMakefileTargetGenerator::WriteObjectsString(std::string& buildObjs) -{ - std::vector<std::string> objStrings; - this->WriteObjectsStrings(objStrings); - buildObjs = objStrings[0]; -} - class cmMakefileTargetGeneratorObjectStrings { public: @@ -1677,7 +1670,9 @@ void cmMakefileTargetGenerator::CreateObjectLists( } } else if (useLinkScript) { if (!useArchiveRules) { - this->WriteObjectsString(buildObjs); + std::vector<std::string> objStrings; + this->WriteObjectsStrings(objStrings); + buildObjs = objStrings[0]; } } else { buildObjs = "$("; |