diff --git a/Source/cmXMLParser.cxx b/Source/cmXMLParser.cxx index 8d004a9ee..82be503cb 100644 --- a/Source/cmXMLParser.cxx +++ b/Source/cmXMLParser.cxx @@ -55,7 +55,7 @@ int cmXMLParser::ParseFile(const char* file) return 0; } - ostringstream str; + cmOStringStream str; str << ifs.rdbuf(); return this->Parse(str.str().c_str()); }