From 278c3ed69eb1ee7e576ef0e03f6a74c3a5be86a5 Mon Sep 17 00:00:00 2001 From: apio Date: Sun, 11 Feb 2024 19:26:40 +0100 Subject: [PATCH] libluna: Add typename to some stuff in TypeTraits G++ on Luna was complaining about this. --- libluna/include/luna/TypeTraits.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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>;