We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7feb2d commit 7c7ccbfCopy full SHA for 7c7ccbf
src/lib_json/json_value.cpp
@@ -854,7 +854,7 @@ bool Value::asBool() const {
854
return value_.uint_ ? true : false;
855
case realValue:
856
// 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
+ return std::fpclassify(value_.real_) != FP_ZERO && std::fpclassify(value_.real_) != FP_NAN;
858
default:
859
break;
860
}
0 commit comments