mirror of
https://github.com/nlohmann/json.git
synced 2026-06-06 20:59:44 +00:00
:ok_hand: apply suggestion
Co-authored-by: Alexander Karzhenkov <karzhenkov@mail.ru>
This commit is contained in:
@@ -884,7 +884,7 @@ class json_pointer
|
||||
{
|
||||
if (JSON_HEDLEY_UNLIKELY(!element.second.is_primitive()))
|
||||
{
|
||||
JSON_THROW(detail::type_error::create(315, "values in object must be primitive", diagnostics_t(element)));
|
||||
JSON_THROW(detail::type_error::create(315, "values in object must be primitive", diagnostics_t(element.second)));
|
||||
}
|
||||
|
||||
// assign value to reference pointed to by JSON pointer; Note that if
|
||||
|
||||
Reference in New Issue
Block a user