File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
libcxx/test/std/containers/container.adaptors
flat.multiset/flat.multiset.iterators
flat.set/flat.set.iterators Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ constexpr void test_one() {
5757 i = m.begin (); // move-assignment
5858 typename M::const_iterator k = i; // converting constructor
5959 assert (i == k); // comparison
60- for (int j = 0 ; j < 9 ; ++j, ++i) { // pre-increment
60+ for (int j = 0 ; j < 9 ; ++j, ( void ) ++i) { // pre-increment
6161 assert (*i == expected[j]); // operator*
6262 }
6363 assert (i == m.end ());
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ constexpr void test_one() {
5656 i = m.begin (); // move-assignment
5757 typename M::const_iterator k = i; // converting constructor
5858 assert (i == k); // comparison
59- for (int j = 1 ; j <= 4 ; ++j, ++i) { // pre-increment
59+ for (int j = 1 ; j <= 4 ; ++j, ( void ) ++i) { // pre-increment
6060 assert (*i == j); // operator*
6161 }
6262 assert (i == m.end ());
You can’t perform that action at this time.
0 commit comments