mirror of
https://github.com/nlohmann/json.git
synced 2025-07-27 00:41:05 +03:00
Change iterator category to random access
This commit is contained in:
@ -8015,7 +8015,7 @@ class basic_json
|
|||||||
typename basic_json::const_reference,
|
typename basic_json::const_reference,
|
||||||
typename basic_json::reference>::type;
|
typename basic_json::reference>::type;
|
||||||
/// the category of the iterator
|
/// the category of the iterator
|
||||||
using iterator_category = std::bidirectional_iterator_tag;
|
using iterator_category = std::random_access_iterator_tag;
|
||||||
|
|
||||||
/// default constructor
|
/// default constructor
|
||||||
iter_impl() = default;
|
iter_impl() = default;
|
||||||
|
Reference in New Issue
Block a user