Port all cmOStringStream to std::ostringstream.

All compilers hosting CMake support the std class.
This commit is contained in:
Stephen Kelly
2015-01-05 20:31:31 +01:00
parent f194a009c8
commit 931e055d8c
127 changed files with 613 additions and 612 deletions
+2 -2
View File
@@ -170,7 +170,7 @@ bool cmForEachCommand
step == 0
)
{
cmOStringStream str;
std::ostringstream str;
str << "called with incorrect range specification: start ";
str << start << ", stop " << stop << ", step " << step;
this->SetError(str.str());
@@ -243,7 +243,7 @@ bool cmForEachCommand::HandleInMode(std::vector<std::string> const& args)
}
else
{
cmOStringStream e;
std::ostringstream e;
e << "Unknown argument:\n" << " " << args[i] << "\n";
this->Makefile->IssueMessage(cmake::FATAL_ERROR, e.str());
return true;