diff --git a/server/TracyWorker.hpp b/server/TracyWorker.hpp index 00ac1a8c..bdd8270a 100644 --- a/server/TracyWorker.hpp +++ b/server/TracyWorker.hpp @@ -375,9 +375,9 @@ private: std::string m_addr; std::thread m_thread; - std::atomic m_connected = false; + std::atomic m_connected = { false }; std::atomic m_hasData; - std::atomic m_shutdown = false; + std::atomic m_shutdown = { false }; std::thread m_threadMemory, m_threadZones; @@ -418,7 +418,7 @@ private: MbpsBlock m_mbpsData; int m_traceVersion; - std::atomic m_handshake = 0; + std::atomic m_handshake = { 0 }; static LoadProgress s_loadProgress; int64_t m_loadTime;