diff --git a/Source/cmStringCommand.cxx b/Source/cmStringCommand.cxx index 1f873e208..19d23692a 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;