[libc++] Remove static_assert from hash.cpp that fires unconditionall

This commit is contained in:
Nikolas Klauser
2025-06-11 20:57:07 +02:00
parent 8dc63ca590
commit 0c62571d9f

View File

@@ -56,7 +56,6 @@ inline void __check_for_overflow(size_t N) {
if (N > 0xFFFFFFFB)
std::__throw_overflow_error("__next_prime overflow");
} else {
static_assert(sizeof(size_t) == 8);
if (N > 0xFFFFFFFFFFFFFFC5ull)
std::__throw_overflow_error("__next_prime overflow");
}