Merge branch 'develop' into feature/sax2

This commit is contained in:
Niels Lohmann 2018-03-05 16:16:43 +01:00
commit 86991d5204
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69
5 changed files with 18 additions and 5 deletions

View file

@ -5180,7 +5180,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"));
}