Skip to content

Commit

Permalink
Please consider the following formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alibuild committed Feb 5, 2024
1 parent 0da3c1e commit 0954475
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Framework/Core/include/Framework/TableBuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -644,17 +644,21 @@ auto constexpr to_tuple(T&& object) noexcept
template <typename... ARGS>
constexpr auto makeHolderTypes()
{
return []<std::size_t... Is>(std::index_sequence<Is...>) {
return []<std::size_t... Is>(std::index_sequence<Is...>)
{
return std::tuple(typename HolderTrait<Is, ARGS>::Holder(arrow::default_memory_pool())...);
}(std::make_index_sequence<sizeof...(ARGS)>{});
}
(std::make_index_sequence<sizeof...(ARGS)>{});
}

template <typename... ARGS>
auto makeHolders(arrow::MemoryPool* pool, size_t nRows)
{
return [pool, nRows]<std::size_t... Is>(std::index_sequence<Is...>) {
return [ pool, nRows ]<std::size_t... Is>(std::index_sequence<Is...>)
{
return new std::tuple(typename HolderTrait<Is, ARGS>::Holder(pool, nRows)...);
}(std::make_index_sequence<sizeof...(ARGS)>{});
}
(std::make_index_sequence<sizeof...(ARGS)>{});
}

template <typename... ARGS>
Expand Down

0 comments on commit 0954475

Please sign in to comment.