From 67e17431c8a1307a71d732c916f71c1f11dfacc0 Mon Sep 17 00:00:00 2001 From: sha512sum Date: Sun, 24 Mar 2024 21:12:03 +0000 Subject: [PATCH] Use Find on Tuple instead Find on TypeList in components.hpp --- include/cserver/engine/components.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cserver/engine/components.hpp b/include/cserver/engine/components.hpp index d6c8170..9b1aa80 100644 --- a/include/cserver/engine/components.hpp +++ b/include/cserver/engine/components.hpp @@ -262,7 +262,7 @@ struct ServiceContextBuilder { static consteval auto FindComponent() { return [] (const ServiceContextBuilder...>&) - -> decltype(utempl::Get>(utempl::TypeList...>{})>(utempl::TypeList{})) { + -> decltype(utempl::Get(utempl::TypeList{})) { std::unreachable(); }(ServiceContextBuilder{}); };