FairMQ: Fix missing region acks if receiver doesn't call OnData & clean includes.

This commit is contained in:
Alexey Rybalchenko 2017-11-29 16:55:51 +01:00
parent 4e1cd9903b
commit efebda8135

View File

@ -38,7 +38,7 @@ void FairMQExampleRegionSink::Run()
{ {
FairMQMessagePtr msg(dataInChannel.Transport()->CreateMessage()); FairMQMessagePtr msg(dataInChannel.Transport()->CreateMessage());
dataInChannel.Receive(msg); dataInChannel.Receive(msg);
void* ptr = msg->GetData(); // void* ptr = msg->GetData();
if (fMaxIterations > 0 && ++fNumIterations >= fMaxIterations) if (fMaxIterations > 0 && ++fNumIterations >= fMaxIterations)
{ {