From c9509ccf9774de0d0c6c9de51f95508568c25ac8 Mon Sep 17 00:00:00 2001 From: WebProdPP Date: Wed, 9 Aug 2017 16:13:43 +0300 Subject: [PATCH] Update json.hpp mistake --- src/json.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/json.hpp b/src/json.hpp index 5bb8b31a..5e352c8f 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -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")); }