+ another check
This commit is contained in:
parent
0ced78bfa8
commit
776611c270
2 changed files with 3 additions and 0 deletions
|
@ -1672,6 +1672,7 @@ bool JSON::const_iterator::operator==(const JSON::const_iterator& o) const
|
|||
}
|
||||
default:
|
||||
{
|
||||
// not sure if used
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue