mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-27 01:19:31 -05:00
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:
@@ -553,7 +553,7 @@ bool cmStringCommand::HandleFindCommand(std::vector<std::string> 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;
|
||||
|
||||
Reference in New Issue
Block a user