Don't copy back pointer.

This commit is contained in:
Bartosz Taudul 2019-11-10 17:48:54 +01:00
parent 44f1d3dc1c
commit f2801491bf

View File

@ -2853,7 +2853,7 @@ void Worker::NewZone( ZoneEvent* zone, uint64_t thread )
} }
else else
{ {
auto back = td->stack.back(); auto& back = td->stack.back();
const auto backChild = back->Child(); const auto backChild = back->Child();
if( backChild < 0 ) if( backChild < 0 )
{ {