Re-add third-party/abseil-cpp
Bug: 261600888 Test: no build files yet Change-Id: If35de46c822c629640fa888126290b98ee4dc41d
This commit is contained in:
2
third_party/abseil-cpp/absl/numeric/bits.h
vendored
2
third_party/abseil-cpp/absl/numeric/bits.h
vendored
@ -131,7 +131,7 @@ has_single_bit(T x) noexcept {
|
||||
// fractional part discarded.
|
||||
template <class T>
|
||||
ABSL_INTERNAL_CONSTEXPR_CLZ inline
|
||||
typename std::enable_if<std::is_unsigned<T>::value, T>::type
|
||||
typename std::enable_if<std::is_unsigned<T>::value, int>::type
|
||||
bit_width(T x) noexcept {
|
||||
return std::numeric_limits<T>::digits - countl_zero(x);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user