From fd30ad8a14b9922e4e5849a0364f7546d4755e87 Mon Sep 17 00:00:00 2001 From: Mike Bogdanov Date: Fri, 2 Mar 2018 11:47:35 +0300 Subject: [PATCH] did make amalgamate --- single_include/nlohmann/json.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp index 3dcb834b..fb34e18a 100644 --- a/single_include/nlohmann/json.hpp +++ b/single_include/nlohmann/json.hpp @@ -14777,7 +14777,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")); }