mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 17:41:45 +00:00
Allocate dynamic size flatbuffers structure on the heap
This commit is contained in:
committed by
Mohammad Al-Turany
parent
1ad58653e7
commit
bb36147099
@@ -44,7 +44,7 @@ void FairMQSplitter::Run()
|
||||
{
|
||||
std::unique_ptr<FairMQMessage> msg(fTransportFactory->CreateMessage());
|
||||
|
||||
if (dataInChannel.Receive(msg) > 0)
|
||||
if (dataInChannel.Receive(msg) >= 0)
|
||||
{
|
||||
dataOutChannels[direction]->Send(msg);
|
||||
++direction;
|
||||
|
Reference in New Issue
Block a user