From 3f8f1c4653f592d270d72381834d04728902a6dc Mon Sep 17 00:00:00 2001 From: SirLynix Date: Thu, 19 May 2022 09:04:06 +0200 Subject: [PATCH] Core/TypeList: Improve ListConcat compile-time seriously I have no idea why I implemented it like that --- include/Nazara/Core/TypeList.inl | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/include/Nazara/Core/TypeList.inl b/include/Nazara/Core/TypeList.inl index 07532a07d..b06441f87 100644 --- a/include/Nazara/Core/TypeList.inl +++ b/include/Nazara/Core/TypeList.inl @@ -45,28 +45,10 @@ namespace Nz }; - template - struct ListConcat, TypeList<>> + template + struct ListConcat, TypeList> { - using Result = TypeList; - }; - - template - struct ListConcat, TypeList> - { - using Result = TypeList; - }; - - template - struct ListConcat, TypeList> - { - using Result = TypeList; - }; - - template - struct ListConcat, TypeList> - { - using Result = typename ListConcat, TypeList>::Result; + using Result = TypeList; };