Skip to content

Commit 1f16fc4

Browse files
author
cmlchen
committed
fix compile problem
1 parent 7e68fcd commit 1f16fc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib_json/json_value.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,7 @@ bool Value::asBool() const {
849849
return value_.uint_ ? true : false;
850850
case realValue:
851851
// According to JavaScript language zero or NaN is regarded as false
852-
return std::fpclassify(value_.real_) != FP_ZERO && std::fpclassify(value_.real_) != FP_NAN
852+
return std::fpclassify(value_.real_) != FP_ZERO && std::fpclassify(value_.real_) != FP_NAN;
853853
default:
854854
break;
855855
}

0 commit comments

Comments
 (0)