Skip to content

Commit f23336a

Browse files
committed
remove unneeded check
1 parent e07b579 commit f23336a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/iterator_count_sentinel.pass.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ constexpr void check_forward(int* first, int* last, std::iter_difference_t<It> n
4545
if (n == 0) {
4646
assert(it.equals_count() == 0);
4747
} else {
48-
assert(it.equals_count() > 0);
4948
assert(it.equals_count() == M || it.equals_count() == M + 1);
5049
assert(it.equals_count() <= n);
5150
}

0 commit comments

Comments
 (0)