From 6ac94b7bc7b6beece13b153d84601fe2be50c1ac Mon Sep 17 00:00:00 2001 From: mkrzewic Date: Tue, 30 Oct 2018 18:39:04 +0100 Subject: [PATCH] Fix ctor --- fairmq/nanomsg/FairMQMessageNN.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fairmq/nanomsg/FairMQMessageNN.cxx b/fairmq/nanomsg/FairMQMessageNN.cxx index b7995c5b9..c4b031f02 100644 --- a/fairmq/nanomsg/FairMQMessageNN.cxx +++ b/fairmq/nanomsg/FairMQMessageNN.cxx @@ -89,9 +89,9 @@ FairMQMessageNN::FairMQMessageNN(void* data, const size_t size, fairmq_free_fn* } } -FairMQMessageNN::FairMQMessageNN(FairMQUnmanagedRegionPtr& region, void* /*data*/, const size_t size, void* hint, FairMQTransportFactory* factory) +FairMQMessageNN::FairMQMessageNN(FairMQUnmanagedRegionPtr& region, void* data, const size_t size, void* hint, FairMQTransportFactory* factory) : FairMQMessage{factory} - , fMessage(nullptr) + , fMessage(data) , fSize(size) , fHint(reinterpret_cast(hint)) , fReceiving(false)