Avoid direct use of std::stringstream
In method cmStringCommand::HandleFindCommand added by parent commit use the cmOStringStream compatibility wrapper instead of std::stringstream.
This commit is contained in:
parent
1462561a8c
commit
006124b446
|
@ -553,7 +553,7 @@ bool cmStringCommand::HandleFindCommand(std::vector<std::string> const&
|
||||||
}
|
}
|
||||||
if(std::string::npos != pos)
|
if(std::string::npos != pos)
|
||||||
{
|
{
|
||||||
std::stringstream s;
|
cmOStringStream s;
|
||||||
s << pos;
|
s << pos;
|
||||||
this->Makefile->AddDefinition(outvar.c_str(), s.str().c_str());
|
this->Makefile->AddDefinition(outvar.c_str(), s.str().c_str());
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue