diff --git a/deps/ox/src/ox/std/typetraits.hpp b/deps/ox/src/ox/std/typetraits.hpp index fbc92709..5810b245 100644 --- a/deps/ox/src/ox/std/typetraits.hpp +++ b/deps/ox/src/ox/std/typetraits.hpp @@ -159,11 +159,11 @@ constexpr bool is_class_v = is_class(); template constexpr bool is_signed_v = integral_constant::value; -template -concept Signed_c = is_signed_v && sizeof(T) == 8 * bits; +template +concept Signed_c = is_signed_v && sizeof(T) == bits / 8; -template -concept Unsigned_c = !is_signed_v && sizeof(T) == 8 * bits; +template +concept Unsigned_c = !is_signed_v && sizeof(T) == bits / 8; template struct is_same: false_type {};