From 89448b473e38c147d1ea1188576b57eb23a8aaf5 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 19 Nov 2017 17:28:12 +0100 Subject: [PATCH] Don't check for nullptr, if already know there isn't one. --- server/TracyView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 4bd1cc38..522ef7e9 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -1123,7 +1123,7 @@ void View::NewZone( ZoneEvent* zone, uint64_t thread ) else { td->stack.back()->child.push_back( zone ); - td->stack.push_back( zone ); + td->stack.push_back_non_empty( zone ); } }