@@ -67,12 +67,12 @@ concept is_enumeration = is_enumeration_v<std::decay_t<T>>;
6767namespace
6868{
6969struct AnalysisDataProcessorBuilder {
70- template <soa::is_iterator G, typename ... Args>
70+ template <soa::is_iterator G, soa::is_table ... Args>
7171 static void addGroupingCandidates (Cache& bk, Cache& bku, bool enabled)
7272 {
73- [&bk, &bku, enabled]< typename ... As>(framework::pack<As...>) mutable {
73+ []<soa::is_table ... As>(framework::pack<As...>, Cache& bk, Cache& bku, bool enabled) {
7474 auto key = std::string{" fIndex" } + o2::framework::cutString (soa::getLabelFromType<std::decay_t <G>>());
75- ([& bk, & bku, &key, enabled]() mutable {
75+ ([](Cache& bk, Cache& bku, bool enabled, std::string const & key) {
7676 if constexpr (soa::relatedByIndex<std::decay_t <G>, std::decay_t <As>>()) {
7777 Entry e{soa::getLabelFromTypeForKey<std::decay_t <As>>(key), soa::getMatcherFromTypeForKey<std::decay_t <As>>(key), key, enabled};
7878 if constexpr (o2::soa::is_smallgroups<std::decay_t <As>>) {
@@ -81,9 +81,9 @@ struct AnalysisDataProcessorBuilder {
8181 framework::updatePairList (bk, e);
8282 }
8383 }
84- }(),
84+ }(bk, bku, enabled, key ),
8585 ...);
86- }(framework::pack<Args...>{});
86+ }(framework::pack<Args...>{}, bk, bku, enabled );
8787 }
8888
8989 template <soa::TableRef R>
0 commit comments