mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-16 01:51:45 +00:00
Transports: use transportType as static member.
This commit is contained in:
committed by
Mohammad Al-Turany
parent
b237b3f9d7
commit
3c73c690f7
@@ -16,7 +16,7 @@
|
||||
|
||||
using namespace std;
|
||||
|
||||
static FairMQ::Transport gTransportType = FairMQ::Transport::NN;
|
||||
FairMQ::Transport FairMQTransportFactoryNN::fTransportType = FairMQ::Transport::NN;
|
||||
|
||||
FairMQTransportFactoryNN::FairMQTransportFactoryNN()
|
||||
{
|
||||
@@ -60,5 +60,5 @@ FairMQPollerPtr FairMQTransportFactoryNN::CreatePoller(const FairMQSocket& cmdSo
|
||||
|
||||
FairMQ::Transport FairMQTransportFactoryNN::GetType() const
|
||||
{
|
||||
return gTransportType;
|
||||
return fTransportType;
|
||||
}
|
||||
|
Reference in New Issue
Block a user