From 370cfb037c0f239cc2e89755d7e1c653de2059c6 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Wed, 19 Oct 2005 13:23:01 -0400 Subject: COMP: fix compiler error --- Source/cmLocalUnixMakefileGenerator3.cxx | 4 +--- 1 file changed, 1 insertion(+), 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::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"; -- cgit v0.12