summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/text
diff options
context:
space:
mode:
authorSona Kurazyan <sona.kurazyan@qt.io>2021-12-07 14:16:27 +0100
committerSona Kurazyan <sona.kurazyan@qt.io>2021-12-09 03:45:08 +0100
commit0fbeac01156c57dc6e48087b7a8dea4644294f6a (patch)
tree8fc4fc8745a3f821b98ccb2aeb29b4a7709cefc7 /tests/auto/corelib/text
parentb886a7ca65d566538f81b369f548943cd5e8ce08 (diff)
Fix the benchmark for QList::removeAll()
The benchmark was making assumptions about number of constructor/assignment operator calls, which are not valid in Qt 6, after the implementation of QList has changed. Considering that we already check number of constructions, copy constructions, etc., in tst_qlist.cpp, remove the checks from the benchmark. As a driveby, fix the following warning: "warning: parameter 'i' shadows member inherited from type 'MyBase'" Pick-to: 6.2 Fixes: QTBUG-95096 Change-Id: Ida68fa5803641c8fa84f8309c0093986ed4c0a2b Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Diffstat (limited to 'tests/auto/corelib/text')
0 files changed, 0 insertions, 0 deletions