Skip to content

Commit

Permalink
Update json.hpp
Browse files Browse the repository at this point in the history
mistake
  • Loading branch information
WebProdPP committed Aug 9, 2017
1 parent 6e5b895 commit c9509cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12058,7 +12058,7 @@ class basic_json

// passed iterators must belong to objects
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"));
}
Expand Down

0 comments on commit c9509cc

Please sign in to comment.