Remove repeated condition

isDouble() contains isIntegral()
This commit is contained in:
Alexander V. Brezgin 2016-11-20 03:28:15 +03:00
parent 77632b2611
commit 12e9ef32f9

View File

@ -1356,7 +1356,7 @@ bool Value::isIntegral() const {
bool Value::isDouble() const { return type_ == realValue || isIntegral(); } bool Value::isDouble() const { return type_ == realValue || isIntegral(); }
bool Value::isNumeric() const { return isIntegral() || isDouble(); } bool Value::isNumeric() const { return isDouble(); }
bool Value::isString() const { return type_ == stringValue; } bool Value::isString() const { return type_ == stringValue; }