Reuse alert dispatcher

Instead of using a specific alert handler in `SessionImpl::saveResumeData()`, reuse the generic
one.
This commit is contained in:
Chocobo1 2022-10-17 02:21:03 +08:00
parent a44bca3f07
commit c94152c47c
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
3 changed files with 18 additions and 10 deletions

View file

@ -410,6 +410,7 @@ namespace BitTorrent
// Torrent interface
void handleTorrentNeedSaveResumeData(const TorrentImpl *torrent);
void handleTorrentSaveResumeDataRequested(const TorrentImpl *torrent);
void handleTorrentSaveResumeDataFailed(const TorrentImpl *torrent);
void handleTorrentShareLimitChanged(TorrentImpl *const torrent);
void handleTorrentNameChanged(TorrentImpl *const torrent);
void handleTorrentSavePathChanged(TorrentImpl *const torrent);