public/client: Correctly initialize atomic thread reference

Atomic variables need to be initialize with direct-initialization
instead of copy-initialization lest the compilation fails complaining
about missing constructor for the atomic type.
This commit is contained in:
Ondřej Míchal
2025-12-08 15:06:26 +02:00
parent 16bac5f807
commit d79b6d040e
+1 -1
View File
@@ -933,7 +933,7 @@ static Thread* s_symbolThread;
std::atomic<bool> s_symbolThreadGone { false };
#endif
#ifdef TRACY_HAS_SYSTEM_TRACING
static std::atomic<Thread*> s_sysTraceThread = nullptr;
static std::atomic<Thread*> s_sysTraceThread(nullptr);
#endif
#if defined __linux__ && !defined TRACY_NO_CRASH_HANDLER