Unverified Commit c190a72f authored by Niels Lohmann's avatar Niels Lohmann Committed by GitHub

👌 apply suggestion

Co-authored-by: default avatarAlexander Karzhenkov <karzhenkov@mail.ru>
parent 380a613f
...@@ -884,7 +884,7 @@ class json_pointer ...@@ -884,7 +884,7 @@ class json_pointer
{ {
if (JSON_HEDLEY_UNLIKELY(!element.second.is_primitive())) 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 // assign value to reference pointed to by JSON pointer; Note that if
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment