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

Use small vector.

This commit is contained in:
Bartosz Taudul
2017-09-15 20:17:39 +02:00
parent 6b589e9479
commit b4faa0a9b9
3 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -242,7 +242,7 @@ void View::NewZone( Event* zone )
const auto lastend = m_timeline.back()->end;
if( lastend != -1 && lastend < zone->start )
{
m_timeline.emplace_back( zone );
m_timeline.push_back( zone );
}
else
{
@@ -251,7 +251,7 @@ void View::NewZone( Event* zone )
}
else
{
m_timeline.emplace_back( zone );
m_timeline.push_back( zone );
}
}