mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 17:41:45 +00:00
Convert factory methods to return smart ptrs
- Convert factory methods to return smart ptrs. - Refactor state machine to use same thread for user states. - Remove unused includes and dependencies, use std.
This commit is contained in:
committed by
Mohammad Al-Turany
parent
c86bfd97a8
commit
e255372043
@@ -35,7 +35,7 @@ void FairMQExample6Sampler::InitTask()
|
||||
|
||||
void FairMQExample6Sampler::Run()
|
||||
{
|
||||
unique_ptr<FairMQPoller> poller(fTransportFactory->CreatePoller(fChannels, { "data", "broadcast" }));
|
||||
FairMQPollerPtr poller(fTransportFactory->CreatePoller(fChannels, { "data", "broadcast" }));
|
||||
|
||||
while (CheckCurrentState(RUNNING))
|
||||
{
|
||||
|
Reference in New Issue
Block a user