diff options
author | Anton Kudryavtsev <a.kudryavtsev@netris.ru> | 2015-12-24 11:38:04 +0300 |
---|---|---|
committer | Anton Kudryavtsev <a.kudryavtsev@netris.ru> | 2016-01-09 08:59:25 +0000 |
commit | ebc76aeea24389e8494b95fd3fbdc446dd62d441 (patch) | |
tree | 7e5e0f75f1f0456ceffe74ab5c75314dd20d5cf4 /tools/qmlprofiler | |
parent | 39d1e93b675cc94708e5f727699fc6b3a290bda8 (diff) |
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 <erik.verbruggen@theqtcompany.com>
Diffstat (limited to 'tools/qmlprofiler')
-rw-r--r-- | tools/qmlprofiler/qmlprofilerdata.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); |