From 006124b44618db3ed672c7ea069b174b966429a1 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 17 Feb 2011 08:44:22 -0500 Subject: Avoid direct use of std::stringstream In method cmStringCommand::HandleFindCommand added by parent commit use the cmOStringStream compatibility wrapper instead of std::stringstream. --- Source/cmStringCommand.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmStringCommand.cxx b/Source/cmStringCommand.cxx index 1f873e2..19d2369 100644 --- a/Source/cmStringCommand.cxx +++ b/Source/cmStringCommand.cxx @@ -553,7 +553,7 @@ bool cmStringCommand::HandleFindCommand(std::vector const& } if(std::string::npos != pos) { - std::stringstream s; + cmOStringStream s; s << pos; this->Makefile->AddDefinition(outvar.c_str(), s.str().c_str()); return true; -- cgit v0.12