mirror of
https://github.com/nlohmann/json.git
synced 2026-03-05 08:46:29 +00: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