Dispatcher: Don't in-place construct atomics.

Visual C++ 2013 doesn't support this.
This commit is contained in:
Peter Johnson
2015-07-20 20:21:37 -07:00
parent 8938a19810
commit 6b2fb02bed

View File

@@ -18,10 +18,11 @@ std::unique_ptr<Dispatcher> Dispatcher::m_instance;
Dispatcher::Dispatcher()
: m_server(false),
m_active(false),
m_update_rate(100),
m_do_flush(false),
m_do_reconnect(false) {}
m_do_reconnect(false) {
m_active = false;
m_update_rate = 100;
}
Dispatcher::~Dispatcher() { Stop(); }