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

@@ -60,7 +60,7 @@ void FairMQMerger::Run()
if (fMultipart)
{
while (CheckCurrentState(RUNNING))
while (!NewStatePending())
{
poller->Poll(100);
@@ -91,7 +91,7 @@ void FairMQMerger::Run()
}
else
{
while (CheckCurrentState(RUNNING))
while (!NewStatePending())
{
poller->Poll(100);