From c4ab8f827e45cd6e6f1e80eb77ab850fa228e433 Mon Sep 17 00:00:00 2001 From: HenryLee Date: Tue, 30 May 2017 19:44:55 +1000 Subject: [PATCH] Change iterator category to random access --- src/json.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/json.hpp b/src/json.hpp index 5c7074f4..51221207 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -8015,7 +8015,7 @@ class basic_json typename basic_json::const_reference, typename basic_json::reference>::type; /// the category of the iterator - using iterator_category = std::bidirectional_iterator_tag; + using iterator_category = std::random_access_iterator_tag; /// default constructor iter_impl() = default;