mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-12-14 23:10:17 +00:00
Fix MQ example 6 condition
This commit is contained in:
committed by
Mohammad Al-Turany
parent
f827655f81
commit
132682bc10
@@ -63,8 +63,6 @@ void FairMQExample6Sampler::Run()
|
|||||||
if (Send(msg, "data") > 0)
|
if (Send(msg, "data") > 0)
|
||||||
{
|
{
|
||||||
LOG(INFO) << "Sent \"" << fText << "\"";
|
LOG(INFO) << "Sent \"" << fText << "\"";
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (fMaxIterations > 0 && ++fNumIterations >= fMaxIterations)
|
if (fMaxIterations > 0 && ++fNumIterations >= fMaxIterations)
|
||||||
{
|
{
|
||||||
@@ -73,6 +71,8 @@ void FairMQExample6Sampler::Run()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
FairMQExample6Sampler::~FairMQExample6Sampler()
|
FairMQExample6Sampler::~FairMQExample6Sampler()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user