Revert a change in reverse iterator to pass the test cases
This commit is contained in:
parent
c98169d0d5
commit
0f065edff6
2 changed files with 9 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue