diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index ec757135..6b7a9c39 100644 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -788,10 +788,10 @@ struct ProfilerData RPMallocInit rpmalloc_init; moodycamel::ConcurrentQueue queue; Profiler profiler; - std::atomic lockCounter = 0; - std::atomic gpuCtxCounter = 0; + std::atomic lockCounter { 0 }; + std::atomic gpuCtxCounter { 0 }; # ifdef TRACY_COLLECT_THREAD_NAMES - std::atomic threadNameData = nullptr; + std::atomic threadNameData { nullptr }; #endif }; diff --git a/server/TracyWorker.hpp b/server/TracyWorker.hpp index 7f34a045..9832ed42 100644 --- a/server/TracyWorker.hpp +++ b/server/TracyWorker.hpp @@ -460,9 +460,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_threadBackground; @@ -509,7 +509,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;