Skip to content

Commit 7c7ccbf

Browse files
cmlchenbaylesj
cmlchen
authored andcommitted
fix compile problem
1 parent b7feb2d commit 7c7ccbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/lib_json/json_value.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ bool Value::asBool() const {
854854
return value_.uint_ ? true : false;
855855
case realValue:
856856
// According to JavaScript language zero or NaN is regarded as false
857-
return std::fpclassify(value_.real_) != FP_ZERO && std::fpclassify(value_.real_) != FP_NAN
857+
return std::fpclassify(value_.real_) != FP_ZERO && std::fpclassify(value_.real_) != FP_NAN;
858858
default:
859859
break;
860860
}

0 commit comments

Comments
 (0)