Bladeren bron

Avoid direct use of std::stringstream

In method cmStringCommand::HandleFindCommand added by parent commit use
the cmOStringStream compatibility wrapper instead of std::stringstream.
Brad King 14 jaren geleden
bovenliggende
commit
006124b446
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      Source/cmStringCommand.cxx

+ 1 - 1
Source/cmStringCommand.cxx

@@ -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;