diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index 38ecb42f..33e9c41a 100644 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -176,7 +176,7 @@ VkCtxWrapper init_order(104) s_vkCtx { nullptr }; #ifdef TRACY_COLLECT_THREAD_NAMES struct ThreadNameData; -std::atomic init_order(104) s_threadNameDataInstance( nullptr ); +static std::atomic init_order(104) s_threadNameDataInstance( nullptr ); std::atomic& s_threadNameData = s_threadNameDataInstance; #endif @@ -184,7 +184,7 @@ std::atomic& s_threadNameData = s_threadNameDataInstance; thread_local LuaZoneState init_order(104) s_luaZoneState { 0, false }; #endif -Profiler init_order(105) s_profilerInstance; +static Profiler init_order(105) s_profilerInstance; Profiler& s_profiler = s_profilerInstance; #ifdef _MSC_VER