summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-10-19 17:23:01 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-10-19 17:23:01 (GMT)
commit370cfb037c0f239cc2e89755d7e1c653de2059c6 (patch)
treecdabec3eff6ba2bfb251acb8702e421ffb009e0d /Source
parenteff0013b3b26b35c69bf7dc3c1175d6bca87748d (diff)
downloadCMake-370cfb037c0f239cc2e89755d7e1c653de2059c6.zip
CMake-370cfb037c0f239cc2e89755d7e1c653de2059c6.tar.gz
CMake-370cfb037c0f239cc2e89755d7e1c653de2059c6.tar.bz2
COMP: fix compiler error
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";