From 2a783d9179119621824ad126452bcaff071ed1fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20G=C3=BCndling?= Date: Thu, 12 Sep 2024 16:41:13 +0200 Subject: [PATCH] init_from: use curly braces for init --- include/utl/init_from.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/utl/init_from.h b/include/utl/init_from.h index 8b84583..e9d242a 100644 --- a/include/utl/init_from.h +++ b/include/utl/init_from.h @@ -337,7 +337,7 @@ std::optional init_from(S&& s, std::index_sequence) { if (!(c>(s) && ...)) { return std::nullopt; } - return T(m>(s)...); + return T{m>(s)...}; } } // namespace detail