Avoid using deprecated stats_alert

From libtorrent doc:
This alert has been superseded by calling post_torrent_updates() regularly on the session object.
This commit is contained in:
Chocobo1
2019-05-27 15:15:59 +08:00
parent db88c2d6a5
commit 0fe9cd05c4
3 changed files with 9 additions and 16 deletions

View File

@@ -368,7 +368,6 @@ namespace BitTorrent
void handlePerformanceAlert(const lt::performance_alert *p) const;
void handleSaveResumeDataAlert(const lt::save_resume_data_alert *p);
void handleSaveResumeDataFailedAlert(const lt::save_resume_data_failed_alert *p);
void handleStatsAlert(const lt::stats_alert *p);
void handleStorageMovedAlert(const lt::storage_moved_alert *p);
void handleStorageMovedFailedAlert(const lt::storage_moved_failed_alert *p);
void handleTorrentCheckedAlert(const lt::torrent_checked_alert *p);