mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 00:31:14 +00:00
Use new Copy API in MQ example 4
This commit is contained in:
parent
21fc10d3de
commit
37271e5840
|
@ -45,7 +45,7 @@ bool FairMQExample4Sampler::ConditionalRun()
|
|||
for (int i = 0; i < fNumDataChannels - 1; ++i)
|
||||
{
|
||||
FairMQMessagePtr msgCopy(NewMessage());
|
||||
msgCopy->Copy(msg);
|
||||
msgCopy->Copy(*msg);
|
||||
Send(msgCopy, "data", i);
|
||||
}
|
||||
Send(msg, "data", fNumDataChannels - 1);
|
||||
|
|
Loading…
Reference in New Issue
Block a user