Skip to content

Commit d4361cb

Browse files
committed
small fix Value::isConvertibleTo
1 parent 9e0d70a commit d4361cb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/lib_json/json_value.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,6 @@ bool Value::isConvertibleTo(ValueType other) const {
832832
(type() == realValue && InRange(value_.real_, 0, maxUInt)) ||
833833
type() == booleanValue || type() == nullValue;
834834
case realValue:
835-
return isNumeric() || type() == booleanValue || type() == nullValue;
836835
case booleanValue:
837836
return isNumeric() || type() == booleanValue || type() == nullValue;
838837
case stringValue:

0 commit comments

Comments
 (0)