Skip to content

Commit eb7bd95

Browse files
committed
Value::find(): Fix assert message
1 parent 0adb053 commit eb7bd95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib_json/json_value.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,7 @@ bool Value::isValidIndex(ArrayIndex index) const { return index < size(); }
11151115

11161116
Value const* Value::find(char const* begin, char const* end) const {
11171117
JSON_ASSERT_MESSAGE(type() == nullValue || type() == objectValue,
1118-
"in Json::Value::find(key, end, found): requires "
1118+
"in Json::Value::find(begin, end): requires "
11191119
"objectValue or nullValue");
11201120
if (type() == nullValue)
11211121
return nullptr;

0 commit comments

Comments
 (0)