fixed off-by-one error

This commit is contained in:
Niels 2015-08-06 22:53:16 +02:00
parent b0eb34394c
commit 2707733920
2 changed files with 2 additions and 4 deletions

View file

@ -5757,10 +5757,9 @@ class basic_json
++anchor;
++array_index;
first = calculate_key();
if (array_index < container_size)
{
first = calculate_key();
second = *anchor;
}

View file

@ -5757,10 +5757,9 @@ class basic_json
++anchor;
++array_index;
first = calculate_key();
if (array_index < container_size)
{
first = calculate_key();
second = *anchor;
}