diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index 8b1fb43b..9e7b426b 100755 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -31,8 +31,6 @@ static moodycamel::ProducerToken& GetToken() return token; } -extern const char* PointerCheckA; -const char* PointerCheckB = "tracy"; #ifndef TRACY_DISABLE Profiler s_profiler; @@ -49,13 +47,6 @@ Profiler::Profiler() , m_buffer( new char[TargetFrameSize*3] ) , m_bufferOffset( 0 ) { - // This check verifies that the string literals from different compilation units are placed at the - // same address by the linker. - // MSVC: make sure "Enable String Pooling" is active (/GF). - // gcc: make sure -fmerge-constants is enabled (it is automatically enabled only in optimized builds). - // clang: seems to be enabled by default. - assert( PointerCheckA == PointerCheckB ); - assert( !s_instance ); s_instance = this; diff --git a/common/TracySystem.cpp b/common/TracySystem.cpp index dbc2f0da..35e365b3 100755 --- a/common/TracySystem.cpp +++ b/common/TracySystem.cpp @@ -12,8 +12,6 @@ namespace tracy { -const char* PointerCheckA = "tracy"; - void SetThreadName( std::thread& thread, const char* name ) { #ifdef _WIN32