From 870bcc7a19e8979d3d6dbde8ff76dd93380829f3 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Tue, 8 Aug 2023 22:31:39 +0800 Subject: [PATCH] Switch to QHash --- src/base/bittorrent/trackerentry.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/base/bittorrent/trackerentry.h b/src/base/bittorrent/trackerentry.h index 502a8b096..a21ecc2a6 100644 --- a/src/base/bittorrent/trackerentry.h +++ b/src/base/bittorrent/trackerentry.h @@ -33,7 +33,6 @@ #include #include #include -#include #include #include @@ -64,8 +63,7 @@ namespace BitTorrent QString url {}; int tier = 0; - // TODO: Use QHash> once Qt5 is dropped. - QMap> stats {}; + QHash> stats {}; // Deprecated fields Status status = NotContacted;