small fix Value::isConvertibleTo

This commit is contained in:
Pavel Pimenov 2019-11-15 20:01:32 +03:00
parent 9e0d70aa66
commit d4361cb325

View File

@ -832,7 +832,6 @@ bool Value::isConvertibleTo(ValueType other) const {
(type() == realValue && InRange(value_.real_, 0, maxUInt)) ||
type() == booleanValue || type() == nullValue;
case realValue:
return isNumeric() || type() == booleanValue || type() == nullValue;
case booleanValue:
return isNumeric() || type() == booleanValue || type() == nullValue;
case stringValue: