mirror of
https://github.com/wolfpld/tracy
synced 2025-04-28 20:23:51 +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 )
|
for( auto& t : m_threadMap )
|
||||||
{
|
{
|
||||||
auto name = threadNames.find(t.first);
|
auto name = threadNames.find(t.first);
|
||||||
if (name != threadNames.end())
|
if( name != threadNames.end() )
|
||||||
{
|
{
|
||||||
char buf[128];
|
char buf[128];
|
||||||
int len = snprintf(buf, sizeof(buf), "(%" PRIu64 ") %s", t.first, name->second.c_str());
|
int len = snprintf( buf, sizeof( buf ), "(%" PRIu64 ") %s", t.first, name->second.c_str() );
|
||||||
AddThreadString(t.first, buf, len);
|
AddThreadString( t.first, buf, len );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user