parent
4eddab27bc
commit
53d94d2a35
@ -1,2 +1,3 @@
|
||||
jsoncpp.pc
|
||||
jsoncpp-src-0.6.0-rc2.tar.gz
|
||||
/jsoncpp-0.10.5.tar.gz
|
||||
|
@ -1,27 +0,0 @@
|
||||
--- a/json_value.cpp
|
||||
+++ b/json_value.cpp
|
||||
@@ -666,6 +666,7 @@ Value::asString() const
|
||||
case booleanValue:
|
||||
return value_.bool_ ? "true" : "false";
|
||||
case intValue:
|
||||
+ return valueToString( value_.int_ );
|
||||
case uintValue:
|
||||
case realValue:
|
||||
case arrayValue:
|
||||
@@ -1423,14 +1424,14 @@ Value::isString() const
|
||||
bool
|
||||
Value::isArray() const
|
||||
{
|
||||
- return type_ == nullValue || type_ == arrayValue;
|
||||
+ return type_ == arrayValue;
|
||||
}
|
||||
|
||||
|
||||
bool
|
||||
Value::isObject() const
|
||||
{
|
||||
- return type_ == nullValue || type_ == objectValue;
|
||||
+ return type_ == objectValue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in new issue