mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 17:41:45 +00:00
Fix warnings
This commit is contained in:
committed by
Mohammad Al-Turany
parent
e5c4ad31c7
commit
4e2a195289
@@ -38,8 +38,8 @@ DDS::DDS(const string name, const Plugin::Version version, const string maintain
|
||||
, fNewEvent()
|
||||
, fDeviceTerminationRequested(false)
|
||||
, fIosWork{fIos}
|
||||
, fHeartbeatInterval{100}
|
||||
, fHeartbeatTimer{fIos, fHeartbeatInterval}
|
||||
, fHeartbeatInterval{100}
|
||||
{
|
||||
try
|
||||
{
|
||||
@@ -279,7 +279,7 @@ auto DDS::SubscribeForCustomCommands() -> void
|
||||
else if (cmd == "subscribe-to-heartbeats")
|
||||
{
|
||||
{
|
||||
auto size = fHeartbeatSubscribers.size();
|
||||
// auto size = fHeartbeatSubscribers.size();
|
||||
std::lock_guard<std::mutex> lock{fHeartbeatSubscriberMutex};
|
||||
fHeartbeatSubscribers.insert(senderId);
|
||||
}
|
||||
@@ -296,7 +296,7 @@ auto DDS::SubscribeForCustomCommands() -> void
|
||||
else if (cmd == "subscribe-to-state-changes")
|
||||
{
|
||||
{
|
||||
auto size = fStateChangeSubscribers.size();
|
||||
// auto size = fStateChangeSubscribers.size();
|
||||
std::lock_guard<std::mutex> lock{fStateChangeSubscriberMutex};
|
||||
fStateChangeSubscribers.insert(senderId);
|
||||
}
|
||||
|
Reference in New Issue
Block a user