mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-10-16 07:23:43 +02:00
JSONCPP_OSTRINGSTREAM
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user