Avoid accessing Device.fChannels directly, use getters

This commit is contained in:
Alexey Rybalchenko
2021-11-03 12:33:11 +01:00
parent a3bb5fb4b0
commit dbdf17c661
11 changed files with 19 additions and 19 deletions

View File

@@ -37,8 +37,8 @@ class PollIn : public FairMQDevice
{
vector<FairMQChannel*> chans;
chans.push_back(&fChannels.at("data1").at(0));
chans.push_back(&fChannels.at("data2").at(0));
chans.push_back(&GetChannel("data1", 0));
chans.push_back(&GetChannel("data2", 0));
FairMQPollerPtr poller = nullptr;