1
0
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:
HenryLee
2017-06-07 18:01:01 +10:00
parent c98169d0d5
commit 0f065edff6
2 changed files with 9 additions and 9 deletions

View File

@ -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