mirror of
https://github.com/nlohmann/json.git
synced 2024-08-23 13:32:28 +02:00
Update json.hpp
mistake
This commit is contained in:
parent
6e5b895f87
commit
c9509ccf97
|
@ -12058,7 +12058,7 @@ class basic_json
|
||||||
|
|
||||||
// passed iterators must belong to objects
|
// passed iterators must belong to objects
|
||||||
if (JSON_UNLIKELY(not first.m_object->is_object()
|
if (JSON_UNLIKELY(not first.m_object->is_object()
|
||||||
or not first.m_object->is_object()))
|
or not last.m_object->is_object()))
|
||||||
{
|
{
|
||||||
JSON_THROW(invalid_iterator::create(202, "iterators first and last must point to objects"));
|
JSON_THROW(invalid_iterator::create(202, "iterators first and last must point to objects"));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue