JSONCPP_OSTRINGSTREAM

This commit is contained in:
Christopher Dunn
2016-03-06 11:50:00 -06:00
parent 724ba29bd3
commit 38bb491400
6 changed files with 10 additions and 10 deletions

View File

@@ -2010,7 +2010,7 @@ bool parseFromStream(
CharReader::Factory const& fact, std::istream& sin,
Value* root, std::string* errs)
{
std::ostringstream ssin;
JSONCPP_OSTRINGSTREAM ssin;
ssin << sin.rdbuf();
std::string doc = ssin.str();
char const* begin = doc.data();