Don't check for nullptr, if already know there isn't one.

This commit is contained in:
Bartosz Taudul 2017-11-19 17:28:12 +01:00
parent 1e6707c609
commit 89448b473e

View File

@ -1123,7 +1123,7 @@ void View::NewZone( ZoneEvent* zone, uint64_t thread )
else else
{ {
td->stack.back()->child.push_back( zone ); td->stack.back()->child.push_back( zone );
td->stack.push_back( zone ); td->stack.push_back_non_empty( zone );
} }
} }