+ another check

This commit is contained in:
Niels 2014-12-28 22:59:11 +01:00
parent 0ced78bfa8
commit 776611c270
2 changed files with 3 additions and 0 deletions

View file

@ -1672,6 +1672,7 @@ bool JSON::const_iterator::operator==(const JSON::const_iterator& o) const
}
default:
{
// not sure if used
break;
}
}

View file

@ -1425,6 +1425,8 @@ TEST_CASE("Iterators")
JSON::const_iterator i4 = j_object.begin();
++i4;
JSON::iterator i41 = j_object.begin();
CHECK((i4 == i41) == false);
JSON::const_iterator i5(i4);
JSON::const_iterator i6;
i6 = i5;