mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
Dispatcher: Don't in-place construct atomics.
Visual C++ 2013 doesn't support this.
This commit is contained in:
@@ -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(); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user