From 044453ca96466b3265ee8d4b8da8c952c95b0d5d Mon Sep 17 00:00:00 2001 From: Alexey Rybalchenko Date: Mon, 11 Dec 2017 11:16:50 +0100 Subject: [PATCH] Use new Copy API in MQ example 4 --- examples/MQ/4-copypush/FairMQExample4Sampler.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/MQ/4-copypush/FairMQExample4Sampler.cxx b/examples/MQ/4-copypush/FairMQExample4Sampler.cxx index 17251d6f..e19da67f 100644 --- a/examples/MQ/4-copypush/FairMQExample4Sampler.cxx +++ b/examples/MQ/4-copypush/FairMQExample4Sampler.cxx @@ -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);