From 5e3390894d102a475269c85bc065c5f6113a538e Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 29 Jan 2019 22:01:47 +0100 Subject: [PATCH] Use preincrementation for iterators. --- server/TracyView.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 316f2103..369c0fff 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -5014,7 +5014,7 @@ void View::DrawFindZone() const auto zmax = ( log10( tmax ) - tMinLog ) / numBins; { auto zit = sorted.begin(); - while( zit != sorted.end() && *zit == 0 ) zit++; + while( zit != sorted.end() && *zit == 0 ) ++zit; for( int64_t i=0; i