mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
use factory for messages
This commit is contained in:
@@ -25,7 +25,7 @@ void FairMQProxy::Run()
|
||||
|
||||
boost::thread rateLogger(boost::bind(&FairMQDevice::LogSocketRates, this));
|
||||
|
||||
FairMQMessage* msg = new FairMQMessageZMQ();
|
||||
FairMQMessage* msg = fTransportFactory->CreateMessage();
|
||||
|
||||
while ( fState == RUNNING ) {
|
||||
fPayloadInputs->at(0)->Receive(msg);
|
||||
|
Reference in New Issue
Block a user