mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-10-23 00:07:58 +02:00
Remove repeated condition
isDouble() contains isIntegral()
This commit is contained in:
@@ -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; }
|
||||
|
||||
|
Reference in New Issue
Block a user