Skip to content

Commit 25239cb

Browse files
committed
Please consider the following formatting changes
1 parent 10cafb7 commit 25239cb

File tree

1 file changed

+4
-2
lines changed
  • Framework/Foundation/include/Framework

1 file changed

+4
-2
lines changed

Framework/Foundation/include/Framework/Pack.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,11 @@ inline constexpr bool has_type_conditional_v = has_type_conditional<Condition, T
200200
template <typename T, typename... Ts>
201201
consteval std::size_t has_type_at(pack<Ts...> const&)
202202
{
203-
constexpr std::size_t count = []<std::size_t... Is>(std::index_sequence<Is...>) {
203+
constexpr std::size_t count = []<std::size_t... Is>(std::index_sequence<Is...>)
204+
{
204205
return ((std::is_same_v<T, Ts> ? Is + 1 : 0) + ...);
205-
}(std::make_index_sequence<sizeof...(Ts)>());
206+
}
207+
(std::make_index_sequence<sizeof...(Ts)>());
206208
if constexpr (count == 0) {
207209
return sizeof...(Ts) + 1;
208210
} else {

0 commit comments

Comments
 (0)