mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2024-12-27 11:21:02 +08:00
commit
3b5f8bef41
@ -2052,10 +2052,6 @@ JSONCPP_ISTREAM& operator>>(JSONCPP_ISTREAM& sin, Value& root) {
|
|||||||
JSONCPP_STRING errs;
|
JSONCPP_STRING errs;
|
||||||
bool ok = parseFromStream(b, sin, &root, &errs);
|
bool ok = parseFromStream(b, sin, &root, &errs);
|
||||||
if (!ok) {
|
if (!ok) {
|
||||||
fprintf(stderr,
|
|
||||||
"Error from reader: %s",
|
|
||||||
errs.c_str());
|
|
||||||
|
|
||||||
throwRuntimeError(errs);
|
throwRuntimeError(errs);
|
||||||
}
|
}
|
||||||
return sin;
|
return sin;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user