@@ -1147,9 +1147,9 @@ struct TableIterator : IP, C... {
11471147 return CL::getCurrentRaw ();
11481148 }
11491149
1150- auto getIndexBindings () -> std::vector<o2::soa::Binding> const
1150+ std::vector<o2::soa::Binding> getIndexBindings () const
11511151 {
1152- return {[]<soa::is_column CL>(){
1152+ return {[this ]<soa::is_column CL>(){
11531153 if constexpr (soa::is_index_column<CL> && !soa::is_self_index_column<CL>) {
11541154 return o2::soa::Binding{CL::getCurrentRaw ()};
11551155 } else {
@@ -1162,7 +1162,7 @@ struct TableIterator : IP, C... {
11621162 void bindExternalIndices (TA*... current)
11631163 {
11641164 ([this ]<typename ... Cs, typename TT>(framework::pack<Cs...>, TT* t) {
1165- ([]<soa::is_column CL, typename TI>(TI* c){
1165+ ([this ]<soa::is_column CL, typename TI>(TI* c){
11661166 if constexpr (soa::is_index_column<CL> && !soa::is_self_index_column<CL>) {
11671167 CL::setCurrent (c);
11681168 }
@@ -1173,8 +1173,8 @@ struct TableIterator : IP, C... {
11731173
11741174 void bindExternalIndicesRaw (std::vector<o2::soa::Binding>&& bindings)
11751175 {
1176- [&bindings]<size_t ... Is>(std::index_sequence<Is...>){
1177- ([&bindings](){
1176+ [&bindings, this ]<size_t ... Is>(std::index_sequence<Is...>){
1177+ ([&bindings, this ](){
11781178 using column = typename framework::pack_element_t <Is, framework::pack<C...>>;
11791179 if constexpr (soa::is_index_column<column> && !soa::is_self_index_column<column>) {
11801180 column::setCurrentRaw (bindings[Is]);
@@ -1188,7 +1188,7 @@ struct TableIterator : IP, C... {
11881188 {
11891189 o2::soa::Binding b;
11901190 b.bind (table);
1191- ([]<soa::is_column CL>(o2::soa::Binding const & bb){
1191+ ([this ]<soa::is_column CL>(o2::soa::Binding const & bb){
11921192 if constexpr (soa::is_self_index_column<CL>) {
11931193 CL::setCurrentRaw (bb);
11941194 }
0 commit comments