AK: Define MakeSigned<...>::Type as void in the base struct

This was probably forgotten in the last rewrite, this would make
IsIntegeral<T> not work for floating points.
This commit is contained in:
Ali Mohammad Pur 2021-05-18 01:18:19 +04:30 committed by Ali Mohammad Pur
parent cf8b75c2e5
commit 59e01e2813
Notes: sideshowbarker 2024-07-18 17:23:12 +09:00

View file

@ -265,6 +265,7 @@ using MakeUnsigned = typename __MakeUnsigned<T>::Type;
template<typename T>
struct __MakeSigned {
using Type = void;
};
template<>
struct __MakeSigned<signed char> {