class -> typename

This commit is contained in:
Victor Zverovich
2023-02-18 10:23:42 -08:00
parent 1741e90dec
commit 507c3042d8
5 changed files with 12 additions and 11 deletions

View File

@@ -485,7 +485,7 @@ inline auto bit_cast(const From& from) -> To {
return result;
}
template <class UInt>
template <typename UInt>
FMT_CONSTEXPR20 inline auto countl_zero_fallback(UInt n) -> int {
int lz = 0;
constexpr UInt msb_mask = static_cast<UInt>(1) << (num_bits<UInt>() - 1);