diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2020-07-06 16:37:47 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2020-07-07 11:48:45 +0200 |
commit | d33655a9531b750e1574742ff575f871c19ed808 (patch) | |
tree | 8b90d1878dd5f0d9ea38bc048b22f718273bb802 /tests/benchmarks/corelib/tools | |
parent | a02d2d3f22acbf9afb349964f5da00d0e91af887 (diff) |
Use QList instead of QVector in other qtbase tests
Task-number: QTBUG-84469
Change-Id: Ie0455c890c048c52eacad1badd6d21df999badf9
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'tests/benchmarks/corelib/tools')
-rw-r--r-- | tests/benchmarks/corelib/tools/qhash/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/benchmarks/corelib/tools/qhash/main.cpp b/tests/benchmarks/corelib/tools/qhash/main.cpp index 95f2616005..f9b1624fcc 100644 --- a/tests/benchmarks/corelib/tools/qhash/main.cpp +++ b/tests/benchmarks/corelib/tools/qhash/main.cpp @@ -157,7 +157,7 @@ template <typename String> void tst_QHash::hashing_template() // just the hashing function QFETCH(QStringList, items); - QVector<String> realitems; + QList<String> realitems; realitems.reserve(items.size()); foreach (const QString &s, items) realitems.append(s); |