mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-02-23 23:16:38 +01:00
Value::find(): Fix assert message
This commit is contained in:
parent
0adb053294
commit
eb7bd9546e
@ -1115,7 +1115,7 @@ bool Value::isValidIndex(ArrayIndex index) const { return index < size(); }
|
||||
|
||||
Value const* Value::find(char const* begin, char const* end) const {
|
||||
JSON_ASSERT_MESSAGE(type() == nullValue || type() == objectValue,
|
||||
"in Json::Value::find(key, end, found): requires "
|
||||
"in Json::Value::find(begin, end): requires "
|
||||
"objectValue or nullValue");
|
||||
if (type() == nullValue)
|
||||
return nullptr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user