mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-02-25 23:47:08 +01:00
Remove repeated condition
isDouble() contains isIntegral()
This commit is contained in:
parent
77632b2611
commit
12e9ef32f9
@ -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; }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user