mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
GetThreadString() is no longer used.
This commit is contained in:
parent
28a20e631e
commit
fd5014be6f
@ -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 );
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user