No emplace_back in custom vector.

This commit is contained in:
Bartosz Taudul 2017-09-23 01:11:06 +02:00
parent b62dc57a92
commit 1116ef33c5

View File

@ -351,7 +351,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( ThreadData { thread } );
m_threads.push_back( ThreadData { thread } );
timeline = &m_threads.back().timeline;
}
else