From 842721a754098f68b825b7742db2bf106225d525 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Wed, 27 Sep 2017 01:03:01 +0200 Subject: [PATCH] Make profiler instance static. --- client/TracyProfiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index f1163e4d..b92fa5aa 100755 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -43,7 +43,7 @@ static inline uint64_t GetNewId() } #ifndef TRACY_DISABLE -Profiler s_profiler; +static Profiler s_profiler; #endif static Profiler* s_instance = nullptr;