From 2e55be7c4bb47cfb94ce53f4d86f7d50d1734850 Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Thu, 11 Apr 2024 10:02:45 +0000 Subject: [PATCH] Please consider the following formatting changes --- Framework/Foundation/include/Framework/Pack.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Framework/Foundation/include/Framework/Pack.h b/Framework/Foundation/include/Framework/Pack.h index eb105480ef9f0..7244e8fefd730 100644 --- a/Framework/Foundation/include/Framework/Pack.h +++ b/Framework/Foundation/include/Framework/Pack.h @@ -200,9 +200,11 @@ inline constexpr bool has_type_conditional_v = has_type_conditional consteval std::size_t has_type_at(pack const&) { - constexpr std::size_t count = [](std::index_sequence) { + constexpr std::size_t count = [](std::index_sequence) + { return ((std::is_same_v ? Is + 1 : 0) + ...); - }(std::make_index_sequence()); + } + (std::make_index_sequence()); if constexpr (count == 0) { return sizeof...(Ts) + 1; } else {