mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
FairMQ: add FairMQMessage::Copy(const FairMQMessage& msg), deprecate the old one.
This commit is contained in:
committed by
Mohammad Al-Turany
parent
e340a52bf2
commit
ba78964e29
@@ -67,7 +67,7 @@ void FairMQBenchmarkSampler::Run()
|
||||
if (fSameMessage)
|
||||
{
|
||||
FairMQMessagePtr msg(dataOutChannel.Transport()->CreateMessage());
|
||||
msg->Copy(baseMsg);
|
||||
msg->Copy(*baseMsg);
|
||||
|
||||
if (dataOutChannel.Send(msg) >= 0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user