diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2020-06-22 12:25:41 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2020-06-26 14:42:43 +0200 |
commit | 0e6f6507d5920e2566f790007b97bda6441ec577 (patch) | |
tree | 6b857694bbf1cce37dba4aec3f0267135cc480a4 /src/network/ssl/qsslsocket_openssl_symbols.cpp | |
parent | db61e43c81f4b5ed8c36365f63c2e2fb81e2a1e7 (diff) |
Use QList instead of QVector in network
Task-number: QTBUG-84469
Change-Id: I7827da68e73ca8ff1e599c836f2157894c452b63
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/network/ssl/qsslsocket_openssl_symbols.cpp')
-rw-r--r-- | src/network/ssl/qsslsocket_openssl_symbols.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/ssl/qsslsocket_openssl_symbols.cpp b/src/network/ssl/qsslsocket_openssl_symbols.cpp index c74a65ab37..b648c487cb 100644 --- a/src/network/ssl/qsslsocket_openssl_symbols.cpp +++ b/src/network/ssl/qsslsocket_openssl_symbols.cpp @@ -554,8 +554,8 @@ struct LibGreaterThan typedef bool result_type; result_type operator()(QStringView lhs, QStringView rhs) const { - const QVector<QStringView> lhsparts = lhs.split(QLatin1Char('.')); - const QVector<QStringView> rhsparts = rhs.split(QLatin1Char('.')); + const auto lhsparts = lhs.split(QLatin1Char('.')); + const auto rhsparts = rhs.split(QLatin1Char('.')); Q_ASSERT(lhsparts.count() > 1 && rhsparts.count() > 1); // note: checking rhs < lhs, the same as lhs > rhs |