Skip to content

Commit 1e99064

Browse files
committed
JSONCPP_ISTRINGSTREAM
1 parent 38bb491 commit 1e99064

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib_json/json_reader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ bool Reader::decodeDouble(Token& token) {
617617
bool Reader::decodeDouble(Token& token, Value& decoded) {
618618
double value = 0;
619619
std::string buffer(token.start_, token.end_);
620-
std::istringstream is(buffer);
620+
JSONCPP_ISTRINGSTREAM is(buffer);
621621
if (!(is >> value))
622622
return addError("'" + std::string(token.start_, token.end_) +
623623
"' is not a number.",

0 commit comments

Comments
 (0)