mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Don't over-reserve map.
This commit is contained in:
parent
aeb3bc410b
commit
377ed48416
@ -1723,7 +1723,6 @@ Worker::Worker( FileRead& f, EventType::Type eventMask, bool bgTasks )
|
||||
for( auto& t : m_data.threads ) total += t->samples.size();
|
||||
if( total != 0 )
|
||||
{
|
||||
counts.reserve( total );
|
||||
for( auto& t : m_data.threads )
|
||||
{
|
||||
if( m_shutdown.load( std::memory_order_relaxed ) ) return;
|
||||
|
Loading…
Reference in New Issue
Block a user