Commit 776611c2 by Niels

+ another check

parent 0ced78bf
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment