summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index f948e30..67511c4 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -1814,11 +1814,9 @@ cmLocalUnixMakefileGenerator3
for(std::vector<std::string>::const_iterator i = objects.begin();
i != objects.end(); ++i)
{
- object.clear();
- object += *i;
ruleFileStream
<< " \\\n"
- << this->ConvertToQuotedOutputPath(object.c_str());
+ << this->ConvertToQuotedOutputPath(i->c_str());
}
ruleFileStream
<< "\n";