Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Framework/Core/src/ExternalFairMQDeviceProxy.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1027,9 +1027,9 @@ DataProcessorSpec specifyFairMQDeviceOutputProxy(char const* name,
callbacks.set<CallbackService::Id::EndOfStream>(forwardEos);

return adaptStateless([lastDataProcessingHeader](InputRecord& inputs) {
for (size_t ii = 0; ii != inputs.size(); ++ii) {
for (size_t pi = 0; pi < inputs.getNofParts(ii); ++pi) {
auto part = inputs.getByPos(ii, pi);
for (auto it = inputs.begin(); it != inputs.end(); it++) {
for (auto indices = it.initialIndices(); indices != it.endIndices(); indices = it.nextIndices(indices)) {
auto part = it.getAtIndices(indices);
const auto* dph = o2::header::get<DataProcessingHeader*>(part.header);
if (dph) {
// FIXME: should we implement an assignment operator for DataProcessingHeader?
Expand Down Expand Up @@ -1163,9 +1163,9 @@ DataProcessorSpec specifyFairMQDeviceMultiOutputProxy(char const* name,
// there is nothing to do if the forwarding is handled on the framework level
// as forward routes but we need to keep a copy of the last DataProcessingHeader
// for sending the EOS
for (size_t ii = 0; ii != inputs.size(); ++ii) {
for (size_t pi = 0; pi < inputs.getNofParts(ii); ++pi) {
auto part = inputs.getByPos(ii, pi);
for (auto it = inputs.begin(); it != inputs.end(); it++) {
for (auto indices = it.initialIndices(); indices != it.endIndices(); indices = it.nextIndices(indices)) {
auto part = it.getAtIndices(indices);
const auto* dph = o2::header::get<DataProcessingHeader*>(part.header);
if (dph) {
// FIXME: should we implement an assignment operator for DataProcessingHeader?
Expand Down
Loading