Moved torrent::Tracker to torrent::tracker::Tracker.

This commit is contained in:
rakshasa
2025-02-27 18:05:08 +01:00
committed by Jari Sundell
parent 80ef2e076d
commit 37a5b7bccb
15 changed files with 74 additions and 384 deletions
+2 -2
View File
@@ -3,9 +3,9 @@
#include <rak/algorithm.h>
#include <rak/string_manip.h>
#include <torrent/exceptions.h>
#include <torrent/tracker.h>
#include <torrent/tracker_list.h>
#include <torrent/tracker_controller.h>
#include <torrent/tracker/tracker.h>
#include "core/download.h"
@@ -45,7 +45,7 @@ WindowTrackerList::redraw() {
unsigned int group = tl->at(range.first)->group();
while (range.first != range.second) {
torrent::Tracker* tracker = tl->at(range.first);
auto tracker = tl->at(range.first);
if (tracker->group() == group)
m_canvas->print(0, pos, "%2i:", group++);