Skip to content

Commit 798c008

Browse files
authored
Update libcxx/include/__iterator/bounded_iter.h
1 parent a7d61bc commit 798c008

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

libcxx/include/__iterator/bounded_iter.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,6 @@ struct __bounded_iter {
101101
_LIBCPP_HIDE_FROM_ABI
102102
_LIBCPP_CONSTEXPR_SINCE_CXX14 explicit __bounded_iter(_Iterator __current, _Iterator __begin, _Iterator __end)
103103
: __current_(__current), __begin_(__begin), __end_(__end) {
104-
// These are internal checks rather than hardening checks because the STL container is expected to ensure they are
105-
// in order.
106104
_LIBCPP_ASSERT_INTERNAL(
107105
__begin <= __current, "__bounded_iter(current, begin, end): current and begin are inconsistent");
108106
_LIBCPP_ASSERT_INTERNAL(

0 commit comments

Comments
 (0)