Replace QVector with QList

Migrated last remnants of QVector to Qlist, reference https://github.com/qbittorrent/qBittorrent/pull/21016#issuecomment-2212403741 onward.

PR #21407.
This commit is contained in:
xavier2k6 2024-09-30 11:20:58 +01:00 committed by GitHub
parent d8e24314ec
commit c30a07702d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 5 deletions

View file

@ -28,9 +28,9 @@
#include <algorithm>
#include <QList>
#include <QObject>
#include <QTest>
#include <QVector>
#include "base/bittorrent/trackerentry.h"
#include "base/global.h"
@ -46,7 +46,7 @@ public:
private slots:
void testParseTrackerEntries() const
{
using Entries = QVector<BitTorrent::TrackerEntry>;
using Entries = QList<BitTorrent::TrackerEntry>;
const auto isEqual = [](const Entries &left, const Entries &right) -> bool
{