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