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
@@ -20,9 +20,8 @@
|
||||
|
||||
using namespace std;
|
||||
|
||||
static FairMQ::Transport gTransportType = FairMQ::Transport::ZMQ;
|
||||
|
||||
string FairMQMessageZMQ::fDeviceID = string();
|
||||
FairMQ::Transport FairMQMessageZMQ::fTransportType = FairMQ::Transport::ZMQ;
|
||||
|
||||
FairMQMessageZMQ::FairMQMessageZMQ()
|
||||
: fMessage()
|
||||
@@ -105,7 +104,7 @@ void FairMQMessageZMQ::SetDeviceId(const string& deviceId)
|
||||
|
||||
FairMQ::Transport FairMQMessageZMQ::GetType() const
|
||||
{
|
||||
return gTransportType;
|
||||
return fTransportType;
|
||||
}
|
||||
|
||||
void FairMQMessageZMQ::Copy(const unique_ptr<FairMQMessage>& msg)
|
||||
|
Reference in New Issue
Block a user