small fix Value::isConvertibleTo
This commit is contained in:
parent
9e0d70aa66
commit
d4361cb325
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user