Merge pull request #13206 from an0n666/revert-seed-mode-patch

Read piece for torrents added with skip hash only for older libtorrent
This commit is contained in:
Mike Tzou
2020-08-03 19:56:37 +08:00
committed by GitHub
2 changed files with 9 additions and 1 deletions

View File

@@ -590,7 +590,9 @@ namespace BitTorrent
void handleStateUpdateAlert(const lt::state_update_alert *p);
void handleMetadataReceivedAlert(const lt::metadata_received_alert *p);
void handleFileErrorAlert(const lt::file_error_alert *p);
#if (LIBTORRENT_VERSION_NUM < 10208)
void handleReadPieceAlert(const lt::read_piece_alert *p) const;
#endif
void handleTorrentRemovedAlert(const lt::torrent_removed_alert *p);
void handleTorrentDeletedAlert(const lt::torrent_deleted_alert *p);
void handleTorrentDeleteFailedAlert(const lt::torrent_delete_failed_alert *p);