Fix initialization of atomics.

This commit is contained in:
Bartosz Taudul 2019-01-06 21:09:56 +01:00
parent 6a1c552c61
commit fbe8eb3585

View File

@ -375,9 +375,9 @@ private:
std::string m_addr;
std::thread m_thread;
std::atomic<bool> m_connected = false;
std::atomic<bool> m_connected = { false };
std::atomic<bool> m_hasData;
std::atomic<bool> m_shutdown = false;
std::atomic<bool> m_shutdown = { false };
std::thread m_threadMemory, m_threadZones;
@ -418,7 +418,7 @@ private:
MbpsBlock m_mbpsData;
int m_traceVersion;
std::atomic<uint8_t> m_handshake = 0;
std::atomic<uint8_t> m_handshake = { 0 };
static LoadProgress s_loadProgress;
int64_t m_loadTime;