From 1909a322ac64ca823bf2b9ddc083207a10123d50 Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Fri, 24 Jan 2025 10:11:44 +0000 Subject: [PATCH] Please consider the following formatting changes --- Framework/Core/include/Framework/ASoA.h | 63 ++++++++++++++++--------- 1 file changed, 40 insertions(+), 23 deletions(-) diff --git a/Framework/Core/include/Framework/ASoA.h b/Framework/Core/include/Framework/ASoA.h index a364c31f2d34b..8ef7ed9539ec7 100644 --- a/Framework/Core/include/Framework/ASoA.h +++ b/Framework/Core/include/Framework/ASoA.h @@ -1140,9 +1140,12 @@ struct TableIterator : IP, C... { void doSetCurrentIndex(framework::pack, TA* current) { (framework::overloaded{ - [¤t, this] requires(!is_self_index_column) () { CI::setCurrent(current); }, - [](){} - }.template operator()(), ...); + [¤t, this] + requires(!is_self_index_column) + () { CI::setCurrent(current); }, + []() {}} + .template operator()(), + ...); } template @@ -1156,11 +1159,14 @@ struct TableIterator : IP, C... { { std::vector result; (framework::overloaded{ - [this, &result] requires(!is_self_index_column) () mutable { - result.emplace_back(CI::getCurrentRaw()); - }, - [](){} - }.template operator()(), ...); + [this, &result] + requires(!is_self_index_column) + () mutable { + result.emplace_back(CI::getCurrentRaw()); + }, + []() {}} + .template operator()(), + ...); return result; } @@ -1179,9 +1185,12 @@ struct TableIterator : IP, C... { void doSetCurrentIndexRaw(framework::pack p, std::vector&& ptrs) { (framework::overloaded{ - [&ptrs, p, this] requires(!is_self_index_column) () { CI::setCurrentRaw(ptrs[framework::has_type_at_v(p)]); }, - [](){} - }.template operator()(), ...); + [&ptrs, p, this] + requires(!is_self_index_column) + () { CI::setCurrentRaw(ptrs[framework::has_type_at_v(p)]); }, + []() {}} + .template operator()(), + ...); } template @@ -1190,9 +1199,10 @@ struct TableIterator : IP, C... { o2::soa::Binding b; b.bind(ptr); (framework::overloaded{ - [&ptr, &b, this]() { CI::setCurrentRaw(b); }, - [](){} - }.template operator()(), ...); + [&ptr, &b, this]() { CI::setCurrentRaw(b); }, + []() {}} + .template operator()(), + ...); } void bindExternalIndicesRaw(std::vector&& ptrs) @@ -1388,18 +1398,24 @@ template consteval static bool hasIndexTo(framework::pack&&) { return (framework::overloaded{ - [] requires(!is_self_index_column) () { return o2::soa::is_binding_compatible_v(); }, - [](){ return false; } - }.template operator()() || ...); + [] + requires(!is_self_index_column) + () { return o2::soa::is_binding_compatible_v(); }, + []() { return false; }} + .template operator()() || + ...); } template consteval static bool hasSortedIndexTo(framework::pack&&) { return (framework::overloaded{ - [] requires(!is_self_index_column) () {return (CI::sorted && o2::soa::is_binding_compatible_v()); }, - [](){} - }.template operator()() || ...); + [] + requires(!is_self_index_column) + () { return (CI::sorted && o2::soa::is_binding_compatible_v()); }, + []() {}} + .template operator()() || + ...); } template @@ -2085,9 +2101,10 @@ class Table void doBindInternalIndicesExplicit(framework::pack, o2::soa::Binding binding) { (framework::overloaded{ - [this, &binding]() { static_cast(mBegin).setCurrentRaw(binding); }, - [](){} - }.template operator()(), ...); + [this, &binding]() { static_cast(mBegin).setCurrentRaw(binding); }, + []() {}} + .template operator()(), + ...); } void bindExternalIndicesRaw(std::vector&& ptrs)