summaryrefslogtreecommitdiffstats
path: root/Source/cmFunctionCommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2007-12-04 15:43:33 (GMT)
committerKen Martin <ken.martin@kitware.com>2007-12-04 15:43:33 (GMT)
commitab7f11a23941ffe69d6e9de3c3c35e4835424e5f (patch)
treed102466d44443a456aadefb3d935e5641e488a02 /Source/cmFunctionCommand.cxx
parentb786d4f1847859517bb761bdfe7ac12197be749d (diff)
downloadCMake-ab7f11a23941ffe69d6e9de3c3c35e4835424e5f.zip
CMake-ab7f11a23941ffe69d6e9de3c3c35e4835424e5f.tar.gz
CMake-ab7f11a23941ffe69d6e9de3c3c35e4835424e5f.tar.bz2
COMP: fix style and work around old compilers
Diffstat (limited to 'Source/cmFunctionCommand.cxx')
-rw-r--r--Source/cmFunctionCommand.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmFunctionCommand.cxx b/Source/cmFunctionCommand.cxx
index a95c04d..ea6163a 100644
--- a/Source/cmFunctionCommand.cxx
+++ b/Source/cmFunctionCommand.cxx
@@ -111,9 +111,9 @@ bool cmFunctionHelperCommand::InvokeInitialPass
// set the values for ARGV0 ARGV1 ...
for (unsigned int t = 0; t < expandedArgs.size(); ++t)
{
- strStream.str("");
- strStream << "ARGV" << t;
- this->Makefile->AddDefinition(strStream.str().c_str(),
+ cmOStringStream tmpStream;
+ tmpStream << "ARGV" << t;
+ this->Makefile->AddDefinition(tmpStream.str().c_str(),
expandedArgs[t].c_str());
}