提交 12e9ef32 编写于 作者: A Alexander V. Brezgin

Remove repeated condition

isDouble() contains isIntegral()
上级 77632b26
......@@ -1356,7 +1356,7 @@ bool Value::isIntegral() const {
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; }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册