Skip to content

Commit

Permalink
DPL: get rid of warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ktf committed Jan 9, 2024
1 parent 3301b3f commit 5ee4098
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Framework/Core/src/FairMQDeviceProxy.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -320,10 +320,7 @@ void FairMQDeviceProxy::bind(std::vector<OutputRoute> const& outputs, std::vecto
mInputRoutes.emplace_back(RouteState{channelIndex, false});
ri++;
}
for (auto& route : mInputRoutes) {
assert(route.channel.value != -1);
assert(route.channel.value < mInputChannels.size());
}
assert(std::all_of(mInputRoutes.begin(), mInputRoutes.end(), [s=mInputChannels.size()](InputRoute const&route) {return route.channel.value != -1 && route.channel.value < s;}));
LOGP(detail, "Total input channels found {}, total routes {}", mInputChannels.size(), mInputRoutes.size());
assert(mInputRoutes.size() == inputs.size());
}
Expand Down

0 comments on commit 5ee4098

Please sign in to comment.