From fd5014be6f9a4326c56e03168e8646e25d1e0ae3 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Wed, 28 Aug 2019 20:08:16 +0200 Subject: [PATCH] GetThreadString() is no longer used. --- server/TracyWorker.cpp | 13 ------------- server/TracyWorker.hpp | 1 - 2 files changed, 14 deletions(-) diff --git a/server/TracyWorker.cpp b/server/TracyWorker.cpp index e76383cc..40cfe5d3 100644 --- a/server/TracyWorker.cpp +++ b/server/TracyWorker.cpp @@ -1836,19 +1836,6 @@ const char* Worker::GetString( const StringIdx& idx ) const return m_data.stringData[idx.idx]; } -const char* Worker::GetThreadString( uint64_t id ) const -{ - const auto it = m_data.threadNames.find( id ); - if( it == m_data.threadNames.end() ) - { - return "???"; - } - else - { - return it->second; - } -} - const char* Worker::GetThreadName( uint64_t id ) const { const auto it = m_data.threadNames.find( id ); diff --git a/server/TracyWorker.hpp b/server/TracyWorker.hpp index 66f77598..b64257af 100644 --- a/server/TracyWorker.hpp +++ b/server/TracyWorker.hpp @@ -336,7 +336,6 @@ public: const char* GetString( uint64_t ptr ) const; const char* GetString( const StringRef& ref ) const; const char* GetString( const StringIdx& idx ) const; - const char* GetThreadString( uint64_t id ) const; const char* GetThreadName( uint64_t id ) const; bool IsThreadLocal( uint64_t id ) const; const SourceLocation& GetSourceLocation( int16_t srcloc ) const;