Cache pieces info

PR #16238.
This commit is contained in:
Vladimir Golovnev
2022-01-25 06:05:16 +03:00
committed by GitHub
parent 0cc318664d
commit 26352c9eb4
2 changed files with 13 additions and 6 deletions

View File

@@ -37,6 +37,7 @@
#include <libtorrent/torrent_handle.hpp>
#include <libtorrent/torrent_status.hpp>
#include <QBitArray>
#include <QDateTime>
#include <QHash>
#include <QMap>
@@ -320,5 +321,7 @@ namespace BitTorrent
bool m_unchecked = false;
lt::add_torrent_params m_ltAddTorrentParams;
mutable QBitArray m_pieces;
};
}