mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Thread list size is known from iteration.
This commit is contained in:
parent
db930f7f93
commit
a46731996d
@ -651,7 +651,7 @@ Worker::Worker( FileRead& f, EventType::Type eventMask, bool bgTasks )
|
||||
{
|
||||
uint64_t t;
|
||||
f.Read( t );
|
||||
lockmap.threadMap.emplace( t, lockmap.threadList.size() );
|
||||
lockmap.threadMap.emplace( t, i );
|
||||
lockmap.threadList.emplace_back( t );
|
||||
}
|
||||
f.Read( tsz );
|
||||
|
Loading…
Reference in New Issue
Block a user