aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/__bit/countr.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include/__bit/countr.h')
-rw-r--r--libcxx/include/__bit/countr.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/libcxx/include/__bit/countr.h b/libcxx/include/__bit/countr.h
index 4de887a..16f689d6 100644
--- a/libcxx/include/__bit/countr.h
+++ b/libcxx/include/__bit/countr.h
@@ -24,7 +24,6 @@ _LIBCPP_BEGIN_NAMESPACE_STD
template <class _Tp>
[[__nodiscard__]] _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR int __countr_zero(_Tp __t) _NOEXCEPT {
- static_assert(__is_unsigned_integer_v<_Tp>, "__countr_zero only works with unsigned types");
return __builtin_ctzg(__t, numeric_limits<_Tp>::digits);
}