1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Store thread id in thread data.

This commit is contained in:
Bartosz Taudul
2017-09-22 01:58:59 +02:00
parent 6525e1b3c1
commit 2610004fa5
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -350,7 +350,7 @@ void View::NewZone( Event* zone, uint64_t thread )
if( it == m_threadMap.end() )
{
m_threadMap.emplace( thread, m_threads.size() );
m_threads.emplace_back();
m_threads.emplace_back( ThreadData { thread } );
timeline = &m_threads.back().timeline;
}
else