mirror of
https://github.com/wolfpld/tracy.git
synced 2026-10-29 12:05:30 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user