mirror of
https://github.com/nlohmann/json.git
synced 2025-07-27 00:41:05 +03:00
Revert a change in reverse iterator to pass the test cases
This commit is contained in:
@ -8686,7 +8686,7 @@ class basic_json
|
||||
/// access to successor
|
||||
reference operator[](difference_type n) const
|
||||
{
|
||||
return base_iterator::operator[](n);
|
||||
return *(this->operator+(n));
|
||||
}
|
||||
|
||||
/// return the key of an object iterator
|
||||
|
Reference in New Issue
Block a user