Skip to content

Commit 9f8c637

Browse files
committed
Use _LIBCPP_ASSERT_INTERNAL
1 parent f6043c3 commit 9f8c637

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/include/__bit_reference

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ private:
455455
_LIBCPP_CONSTEXPR_SINCE_CXX20 explicit __bit_iterator(__storage_pointer __s, unsigned __ctz) _NOEXCEPT
456456
: __seg_(__s),
457457
__ctz_(__ctz) {
458-
_LIBCPP_ASSERT_VALID_INPUT_RANGE(
458+
_LIBCPP_ASSERT_INTERNAL(
459459
__ctz_ < __bits_per_word, "__bit_iterator initialized with an invalid number of trailing zeros.");
460460
}
461461

0 commit comments

Comments
 (0)