mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Port all cmOStringStream to std::ostringstream.
All compilers hosting CMake support the std class.
This commit is contained in:
@@ -25,7 +25,7 @@ bool cmTargetIncludeDirectoriesCommand
|
||||
void cmTargetIncludeDirectoriesCommand
|
||||
::HandleImportedTarget(const std::string &tgt)
|
||||
{
|
||||
cmOStringStream e;
|
||||
std::ostringstream e;
|
||||
e << "Cannot specify include directories for imported target \""
|
||||
<< tgt << "\".";
|
||||
this->Makefile->IssueMessage(cmake::FATAL_ERROR, e.str());
|
||||
@@ -35,7 +35,7 @@ void cmTargetIncludeDirectoriesCommand
|
||||
void cmTargetIncludeDirectoriesCommand
|
||||
::HandleMissingTarget(const std::string &name)
|
||||
{
|
||||
cmOStringStream e;
|
||||
std::ostringstream e;
|
||||
e << "Cannot specify include directories for target \"" << name << "\" "
|
||||
"which is not built by this project.";
|
||||
this->Makefile->IssueMessage(cmake::FATAL_ERROR, e.str());
|
||||
|
||||
Reference in New Issue
Block a user