mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
No need to check if vector is empty.
This commit is contained in:
parent
b5e759bc5a
commit
17a51c898e
@ -2735,7 +2735,8 @@ void Worker::NewZone( ZoneEvent* zone, uint64_t thread )
|
||||
}
|
||||
else
|
||||
{
|
||||
m_data.zoneChildren[backChild].push_back( zone );
|
||||
assert( !m_data.zoneChildren[backChild].empty() );
|
||||
m_data.zoneChildren[backChild].push_back_non_empty( zone );
|
||||
}
|
||||
td->stack.push_back_non_empty( zone );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user