mirror of
https://github.com/nlohmann/json.git
synced 2024-08-23 05:22:28 +02:00
fixed the build
This commit is contained in:
parent
8eb32084b4
commit
c974e32677
|
@ -4972,7 +4972,7 @@ class basic_json
|
||||||
/// defines a reference to the type iterated over (value_type)
|
/// defines a reference to the type iterated over (value_type)
|
||||||
using reference = typename basic_json::const_reference;
|
using reference = typename basic_json::const_reference;
|
||||||
/// the category of the iterator
|
/// the category of the iterator
|
||||||
using iterator_category = std::random_access_iterator_tag;
|
using iterator_category = std::bidirectional_iterator_tag;
|
||||||
|
|
||||||
/// default constructor
|
/// default constructor
|
||||||
const_iterator() = default;
|
const_iterator() = default;
|
||||||
|
|
|
@ -4972,7 +4972,7 @@ class basic_json
|
||||||
/// defines a reference to the type iterated over (value_type)
|
/// defines a reference to the type iterated over (value_type)
|
||||||
using reference = typename basic_json::const_reference;
|
using reference = typename basic_json::const_reference;
|
||||||
/// the category of the iterator
|
/// the category of the iterator
|
||||||
using iterator_category = std::random_access_iterator_tag;
|
using iterator_category = std::bidirectional_iterator_tag;
|
||||||
|
|
||||||
/// default constructor
|
/// default constructor
|
||||||
const_iterator() = default;
|
const_iterator() = default;
|
||||||
|
|
Loading…
Reference in a new issue