Fixed uninitialized "Connected" flag of the Mouse3DController

after refactoring.
This commit is contained in:
bubnikv 2020-03-06 14:44:06 +01:00
parent 3834ab7ede
commit fa00180170

View file

@ -139,7 +139,7 @@ class Mouse3DController
std::map<std::string, Params> m_params_by_device;
mutable State m_state;
std::atomic<bool> m_connected;
std::atomic<bool> m_connected { false };
std::string m_device_str;
#if ! __APPLE__