@@ -1027,9 +1027,9 @@ DataProcessorSpec specifyFairMQDeviceOutputProxy(char const* name,
10271027 callbacks.set <CallbackService::Id::EndOfStream>(forwardEos);
10281028
10291029 return adaptStateless ([lastDataProcessingHeader](InputRecord& inputs) {
1030- for (size_t ii = 0 ; ii != inputs.size (); ++ii ) {
1031- for (size_t pi = 0 ; pi < inputs. getNofParts (ii ); ++pi ) {
1032- auto part = inputs. getByPos (ii, pi );
1030+ for (auto it = inputs. begin (); it != inputs.end (); it++ ) {
1031+ for (auto indices = it. initialIndices (); indices != it. endIndices ( ); indices = it. nextIndices (indices) ) {
1032+ auto part = it. getAtIndices (indices );
10331033 const auto * dph = o2::header::get<DataProcessingHeader*>(part.header );
10341034 if (dph) {
10351035 // FIXME: should we implement an assignment operator for DataProcessingHeader?
@@ -1163,9 +1163,9 @@ DataProcessorSpec specifyFairMQDeviceMultiOutputProxy(char const* name,
11631163 // there is nothing to do if the forwarding is handled on the framework level
11641164 // as forward routes but we need to keep a copy of the last DataProcessingHeader
11651165 // for sending the EOS
1166- for (size_t ii = 0 ; ii != inputs.size (); ++ii ) {
1167- for (size_t pi = 0 ; pi < inputs. getNofParts (ii ); ++pi ) {
1168- auto part = inputs. getByPos (ii, pi );
1166+ for (auto it = inputs. begin (); it != inputs.end (); it++ ) {
1167+ for (auto indices = it. initialIndices (); indices != it. endIndices ( ); indices = it. nextIndices (indices) ) {
1168+ auto part = it. getAtIndices (indices );
11691169 const auto * dph = o2::header::get<DataProcessingHeader*>(part.header );
11701170 if (dph) {
11711171 // FIXME: should we implement an assignment operator for DataProcessingHeader?
0 commit comments