Browse Source

Switch to QHash

adaptive-webui-19844
Chocobo1 1 year ago
parent
commit
870bcc7a19
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 4
      src/base/bittorrent/trackerentry.h

4
src/base/bittorrent/trackerentry.h

@ -33,7 +33,6 @@ @@ -33,7 +33,6 @@
#include <QtContainerFwd>
#include <QtGlobal>
#include <QHash>
#include <QMap>
#include <QString>
#include <QStringView>
@ -64,8 +63,7 @@ namespace BitTorrent @@ -64,8 +63,7 @@ namespace BitTorrent
QString url {};
int tier = 0;
// TODO: Use QHash<TrackerEntry::Endpoint, QHash<int, EndpointStats>> once Qt5 is dropped.
QMap<Endpoint, QHash<int, EndpointStats>> stats {};
QHash<Endpoint, QHash<int, EndpointStats>> stats {};
// Deprecated fields
Status status = NotContacted;

Loading…
Cancel
Save