GetThreadString() is no longer used.

This commit is contained in:
Bartosz Taudul 2019-08-28 20:08:16 +02:00
parent 28a20e631e
commit fd5014be6f
2 changed files with 0 additions and 14 deletions

View File

@ -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 );

View File

@ -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;