From 0e6f6507d5920e2566f790007b97bda6441ec577 Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Mon, 22 Jun 2020 12:25:41 +0200 Subject: Use QList instead of QVector in network Task-number: QTBUG-84469 Change-Id: I7827da68e73ca8ff1e599c836f2157894c452b63 Reviewed-by: Timur Pocheptsov --- src/network/access/qhstsstore.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/network/access/qhstsstore.cpp') 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 QHstsStore::readPolicies() +QList 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 policies; + QList policies; beginHstsGroups(); -- cgit v1.2.3