diff --git a/libluna/include/luna/TypeTraits.h b/libluna/include/luna/TypeTraits.h index 4894ac1a..213d474b 100644 --- a/libluna/include/luna/TypeTraits.h +++ b/libluna/include/luna/TypeTraits.h @@ -13,7 +13,7 @@ template struct __remove_const_impl using type = T; }; -template using RemoveConst = __remove_const_impl::type; +template using RemoveConst = typename __remove_const_impl::type; template struct __remove_volatile_impl { @@ -25,7 +25,7 @@ template struct __remove_volatile_impl using type = T; }; -template using RemoveVolatile = __remove_volatile_impl::type; +template using RemoveVolatile = typename __remove_volatile_impl::type; template using RemoveCV = RemoveVolatile>; @@ -44,6 +44,6 @@ template struct __remove_ref_impl using type = T; }; -template using RemoveReference = __remove_ref_impl::type; +template using RemoveReference = typename __remove_ref_impl::type; template using RemoveCVReference = RemoveCV>;