Change iterator category to random access

This commit is contained in:
HenryLee 2017-05-30 19:44:55 +10:00
parent daea213b44
commit c4ab8f827e

View file

@ -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;