Update deprecated methods

This commit is contained in:
Alexey Rybalchenko
2019-02-08 14:43:10 +01:00
committed by Dennis Klein
parent ec519cb318
commit b7125b746e
7 changed files with 13 additions and 8 deletions

View File

@@ -41,7 +41,7 @@ void Sampler::Run()
{
FairMQPollerPtr poller(NewPoller("data", "broadcast"));
while (CheckCurrentState(RUNNING))
while (!NewStatePending())
{
poller->Poll(100);