From 6701988f0711cc2f74e92d6506262bcc82da0ab1 Mon Sep 17 00:00:00 2001 From: Anton Alkin Date: Fri, 8 Nov 2024 10:10:12 +0100 Subject: [PATCH] minor cleanup --- Framework/Core/include/Framework/AnalysisHelpers.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Framework/Core/include/Framework/AnalysisHelpers.h b/Framework/Core/include/Framework/AnalysisHelpers.h index 52c92de736e20..439a1a7168432 100644 --- a/Framework/Core/include/Framework/AnalysisHelpers.h +++ b/Framework/Core/include/Framework/AnalysisHelpers.h @@ -153,7 +153,7 @@ struct WritingCursor { }; /// Helper to define output for a Table -template +template struct OutputForTable { using table_t = T; using metadata = aod::MetadataTrait>::metadata; @@ -352,14 +352,14 @@ struct IndexBuilder { return std::array{ [&idx, &columnBuilders]() { using T = typename framework::pack_element_t>; - return std::static_pointer_cast::type>(columnBuilders[Is])->template find(idx); + return std::static_pointer_cast>(columnBuilders[Is])->template find(idx); }()...}; }(sq); if constexpr (std::is_same_v) { [&idx, &columnBuilders](std::index_sequence) { ([&idx, &columnBuilders]() { using T = typename framework::pack_element_t>; - return std::static_pointer_cast::type>(columnBuilders[Is])->template fill(idx); }(), ...); + return std::static_pointer_cast>(columnBuilders[Is])->template fill(idx); }(), ...); }(sq); self.fill(counter); } else if constexpr (std::is_same_v) { @@ -367,7 +367,7 @@ struct IndexBuilder { [&idx, &columnBuilders](std::index_sequence) { ([&idx, &columnBuilders]() { using T = typename framework::pack_element_t>; - return std::static_pointer_cast::type>(columnBuilders[Is])->template fill(idx); + return std::static_pointer_cast>(columnBuilders[Is])->template fill(idx); }(), ...); }(sq); @@ -380,11 +380,11 @@ struct IndexBuilder { return makeArrowTable(label, {self.template result(), [&columnBuilders]() { using T = typename framework::pack_element_t>; - return std::static_pointer_cast::type>(columnBuilders[Is])->template result(); + return std::static_pointer_cast>(columnBuilders[Is])->template result(); }()...}, {self.field(), [&columnBuilders]() { using T = typename framework::pack_element_t>; - return std::static_pointer_cast::type>(columnBuilders[Is])->field(); + return std::static_pointer_cast>(columnBuilders[Is])->field(); }()...}); }(sq); }