From a8ac8c6a8f1d5498ede12207076a389ede10fc71 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Thu, 31 Dec 2020 15:54:42 +0100 Subject: [PATCH] AK: Add missing 'template' keywords in TypeList This caused the AK build to be broken on OpenBSD (and possibly other platforms / compiler versions). Fixes #4692. --- AK/TypeList.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AK/TypeList.h b/AK/TypeList.h index d5ee78db1b..132f2a01ba 100644 --- a/AK/TypeList.h +++ b/AK/TypeList.h @@ -62,7 +62,7 @@ struct TypeWrapper { template constexpr void for_each_type_impl(F&& f, IndexSequence) { - (forward(f)(TypeWrapper> {}), ...); + (forward(f)(TypeWrapper> {}), ...); } template @@ -74,7 +74,7 @@ constexpr void for_each_type(F&& f) template constexpr void for_each_type_zipped_impl(F&& f, IndexSequence) { - (forward(f)(TypeWrapper> {}, TypeWrapper> {}), ...); + (forward(f)(TypeWrapper> {}, TypeWrapper> {}), ...); } template