summaryrefslogtreecommitdiffstats
path: root/src/network/access/qhstsstore.cpp
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2020-06-22 12:25:41 +0200
committerJarek Kobus <jaroslaw.kobus@qt.io>2020-06-26 14:42:43 +0200
commit0e6f6507d5920e2566f790007b97bda6441ec577 (patch)
tree6b857694bbf1cce37dba4aec3f0267135cc480a4 /src/network/access/qhstsstore.cpp
parentdb61e43c81f4b5ed8c36365f63c2e2fb81e2a1e7 (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/access/qhstsstore.cpp')
-rw-r--r--src/network/access/qhstsstore.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/access/qhstsstore.cpp b/src/network/access/qhstsstore.cpp
index 6d7f60ba8d..67be8a2de2 100644
--- a/src/network/access/qhstsstore.cpp
+++ b/src/network/access/qhstsstore.cpp
@@ -76,13 +76,13 @@ QHstsStore::~QHstsStore()
synchronize();
}
-QVector<QHstsPolicy> QHstsStore::readPolicies()
+QList<QHstsPolicy> QHstsStore::readPolicies()
{
// This function only attempts to read policies, making no decision about
// expired policies. It's up to a user (QHstsCache) to mark these policies
// for deletion and sync the store later. But we immediately remove keys/values
// (if the store isWritable) for the policies that we fail to read.
- QVector<QHstsPolicy> policies;
+ QList<QHstsPolicy> policies;
beginHstsGroups();