diff --git a/Source/Core/Common/BitUtils.h b/Source/Core/Common/BitUtils.h index 82d347cf97..60a6abdc25 100644 --- a/Source/Core/Common/BitUtils.h +++ b/Source/Core/Common/BitUtils.h @@ -461,15 +461,4 @@ constexpr int CountTrailingZeros(uint32_t value) #endif } -#undef CONSTEXPR_FROM_INTRINSIC - -template -constexpr T LargestPowerOf2Divisor(T value) -{ - static_assert(std::is_unsigned(), - "LargestPowerOf2Divisor only makes sense for unsigned types."); - - return value & -static_cast>(value); -} - } // namespace Common