mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 06:01:33 -06:00
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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user