diff --git a/AK/StdLibExtras.h b/AK/StdLibExtras.h index cf13cfbf7a7..93a11743967 100644 --- a/AK/StdLibExtras.h +++ b/AK/StdLibExtras.h @@ -329,110 +329,98 @@ inline constexpr T&& forward(typename RemoveReference::Type&& param) noexcept template struct MakeUnsigned { }; - template<> struct MakeUnsigned { typedef unsigned char Type; }; - template<> struct MakeUnsigned { typedef unsigned short Type; }; - template<> struct MakeUnsigned { typedef unsigned Type; }; - template<> struct MakeUnsigned { typedef unsigned long Type; }; - template<> struct MakeUnsigned { typedef unsigned long long Type; }; - template<> struct MakeUnsigned { typedef unsigned char Type; }; - template<> struct MakeUnsigned { typedef unsigned short Type; }; - template<> struct MakeUnsigned { typedef unsigned Type; }; - template<> struct MakeUnsigned { typedef unsigned long Type; }; - template<> struct MakeUnsigned { typedef unsigned long long Type; }; +template<> +struct MakeUnsigned { + typedef unsigned char Type; +}; template struct MakeSigned { }; - template<> struct MakeSigned { typedef signed char Type; }; - template<> struct MakeSigned { typedef short Type; }; - template<> struct MakeSigned { typedef int Type; }; - template<> struct MakeSigned { typedef long Type; }; - template<> struct MakeSigned { typedef long long Type; }; - template<> struct MakeSigned { typedef char Type; }; - template<> struct MakeSigned { typedef short Type; }; - template<> struct MakeSigned { typedef int Type; }; - template<> struct MakeSigned { typedef long Type; }; - template<> struct MakeSigned { typedef long long Type; }; +template<> +struct MakeSigned { + typedef signed char Type; +}; template struct IsVoid : IsSame::Type> {