diff options
| author | hjk <hjk@qt.io> | 2025-04-09 12:58:46 +0200 |
|---|---|---|
| committer | hjk <hjk@qt.io> | 2025-04-10 07:15:45 +0000 |
| commit | e29d440a4750a90d5369c200467bd7e42060bf6b (patch) | |
| tree | 9b5fae6a66bf2dd64105017bb70bbd8f29c59f5d /tests/auto/pointeralgorithm | |
| parent | 5d1144c8190f7b574b4a93afb29bd1306d2a81df (diff) | |
Various tests: Replace QVector by QList
Change-Id: I3d7d8233da2402229e56ceef387c3df9effecd20
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'tests/auto/pointeralgorithm')
| -rw-r--r-- | tests/auto/pointeralgorithm/tst_pointeralgorithm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/pointeralgorithm/tst_pointeralgorithm.cpp b/tests/auto/pointeralgorithm/tst_pointeralgorithm.cpp index fbaa8bef0c8..4160b71864a 100644 --- a/tests/auto/pointeralgorithm/tst_pointeralgorithm.cpp +++ b/tests/auto/pointeralgorithm/tst_pointeralgorithm.cpp @@ -204,11 +204,11 @@ void tst_PointerAlgorithm::toRawPointer() const std::vector<Struct *> x1 = Utils::toRawPointer(v); // different result container const std::vector<Struct *> x2 = Utils::toRawPointer<std::vector>(v); - const QVector<Struct *> x3 = Utils::toRawPointer<QVector>(v); + const QList<Struct *> x3 = Utils::toRawPointer<QList>(v); const std::list<Struct *> x4 = Utils::toRawPointer<std::list>(v); // different fully specified result container const std::vector<BaseStruct *> x5 = Utils::toRawPointer<std::vector<BaseStruct *>>(v); - const QVector<BaseStruct *> x6 = Utils::toRawPointer<QVector<BaseStruct *>>(v); + const QList<BaseStruct *> x6 = Utils::toRawPointer<QList<BaseStruct *>>(v); } void tst_PointerAlgorithm::toReferences() |
