summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileTargetGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-10-09 08:47:44 (GMT)
committerStephen Kelly <steveire@gmail.com>2016-10-09 08:47:44 (GMT)
commit2a49d86d5dec66f7696bd7063459f504cc336a5e (patch)
treeda0dd4f4b3ea9242d921a3421d90acb207b50786 /Source/cmMakefileTargetGenerator.cxx
parentb0301db23b12351720993a351fedf081ca0fa444 (diff)
downloadCMake-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.cxx11
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 = "$(";