mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-29 16:54:35 +00:00
No emplace_back in custom vector.
This commit is contained in:
parent
b62dc57a92
commit
1116ef33c5
@ -351,7 +351,7 @@ void View::NewZone( Event* zone, uint64_t thread )
|
|||||||
if( it == m_threadMap.end() )
|
if( it == m_threadMap.end() )
|
||||||
{
|
{
|
||||||
m_threadMap.emplace( thread, m_threads.size() );
|
m_threadMap.emplace( thread, m_threads.size() );
|
||||||
m_threads.emplace_back( ThreadData { thread } );
|
m_threads.push_back( ThreadData { thread } );
|
||||||
timeline = &m_threads.back().timeline;
|
timeline = &m_threads.back().timeline;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user