correct order of initialization, and ensure m_stop is set to false by default;

pull/75/head
Bryan Biedenkapp 1 year ago
parent e91f61ecb6
commit eedd067489

@ -35,6 +35,7 @@ TalkgroupRulesLookup::TalkgroupRulesLookup(const std::string& filename, uint32_t
m_reloadTime(reloadTime), m_reloadTime(reloadTime),
m_rules(), m_rules(),
m_acl(acl), m_acl(acl),
m_stop(false),
m_groupHangTime(5U), m_groupHangTime(5U),
m_sendTalkgroups(false), m_sendTalkgroups(false),
m_groupVoice() m_groupVoice()

@ -605,9 +605,9 @@ namespace lookups
yaml::Node m_rules; yaml::Node m_rules;
bool m_acl; bool m_acl;
bool m_stop;
static std::mutex m_mutex; static std::mutex m_mutex;
bool m_stop;
/** /**
* @brief Loads the table from the passed lookup table file. * @brief Loads the table from the passed lookup table file.

Loading…
Cancel
Save

Powered by TurnKey Linux.