Do not write to stderr

fixes #665
closes #666
This commit is contained in:
Christopher Dunn 2017-09-09 14:49:55 -05:00
parent 1b68b02ccd
commit c89f0282d1

View File

@ -2052,10 +2052,6 @@ JSONCPP_ISTREAM& operator>>(JSONCPP_ISTREAM& sin, Value& root) {
JSONCPP_STRING errs;
bool ok = parseFromStream(b, sin, &root, &errs);
if (!ok) {
fprintf(stderr,
"Error from reader: %s",
errs.c_str());
throwRuntimeError(errs);
}
return sin;