mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 22:44:34 +00:00
Cosmetics.
This commit is contained in:
parent
6b2de1c8b5
commit
8ea02a4794
@ -432,11 +432,11 @@ Worker::Worker( const char* name, const char* program, const std::vector<ImportE
|
||||
for( auto& t : m_threadMap )
|
||||
{
|
||||
auto name = threadNames.find(t.first);
|
||||
if (name != threadNames.end())
|
||||
if( name != threadNames.end() )
|
||||
{
|
||||
char buf[128];
|
||||
int len = snprintf(buf, sizeof(buf), "(%" PRIu64 ") %s", t.first, name->second.c_str());
|
||||
AddThreadString(t.first, buf, len);
|
||||
int len = snprintf( buf, sizeof( buf ), "(%" PRIu64 ") %s", t.first, name->second.c_str() );
|
||||
AddThreadString( t.first, buf, len );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user