From ebc76aeea24389e8494b95fd3fbdc446dd62d441 Mon Sep 17 00:00:00 2001 From: Anton Kudryavtsev Date: Thu, 24 Dec 2015 11:38:04 +0300 Subject: QtDeclarative: use prefix ++/-- for iterator types ... because it's useful for non-primitive types. These were the only two remaining instances in QtDeclarative. Change-Id: I52eba66313e953762d87313ccbd7ee0be9039be1 Reviewed-by: Erik Verbruggen --- tools/qmlprofiler/qmlprofilerdata.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/qmlprofiler/qmlprofilerdata.cpp') diff --git a/tools/qmlprofiler/qmlprofilerdata.cpp b/tools/qmlprofiler/qmlprofilerdata.cpp index fd2b5acea1..dd7e5d561b 100644 --- a/tools/qmlprofiler/qmlprofilerdata.cpp +++ b/tools/qmlprofiler/qmlprofilerdata.cpp @@ -448,7 +448,7 @@ void QmlProfilerData::sortStartTimes() // find block to sort while ( itFrom != d->startInstanceList.begin() && itTo->startTime > itFrom->startTime ) { - itTo--; + --itTo; itFrom = itTo - 1; } @@ -459,7 +459,7 @@ void QmlProfilerData::sortStartTimes() // find block length while ( itFrom != d->startInstanceList.begin() && itTo->startTime <= itFrom->startTime ) - itFrom--; + --itFrom; if (itTo->startTime <= itFrom->startTime) std::sort(itFrom, itTo + 1, compareStartTimes); -- cgit v1.2.3