diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index 35c34af4..ac76baef 100644 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -963,14 +963,14 @@ ProfilerData* s_profilerData = nullptr; static ProfilerThreadData& GetProfilerThreadData(); TRACY_API void StartupProfiler() { - s_profilerData = (ProfilerData*)tracy_malloc( sizeof( ProfilerData )); + s_profilerData = (ProfilerData*)tracy_malloc( sizeof( ProfilerData ) ); new (s_profilerData) ProfilerData(); s_profilerData->profiler.SpawnWorkerThreads(); - GetProfilerThreadData().token = ProducerWrapper(*s_profilerData); + GetProfilerThreadData().token = ProducerWrapper( *s_profilerData ); } static ProfilerData& GetProfilerData() { - assert(s_profilerData); + assert( s_profilerData ); return *s_profilerData; } TRACY_API void ShutdownProfiler() @@ -980,7 +980,7 @@ TRACY_API void ShutdownProfiler() s_profilerData = nullptr; rpmalloc_finalize(); RpThreadInitDone = false; - RpInitDone.store(0, std::memory_order_release); + RpInitDone.store( 0, std::memory_order_release ); } # else static std::atomic profilerDataLock { 0 };