No need to check if vector is empty.

This commit is contained in:
Bartosz Taudul 2019-10-25 00:51:01 +02:00
parent b5e759bc5a
commit 17a51c898e

View File

@ -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 );
}