mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-22 08:27:24 -06:00
minimizing the number of warnings about deprecated auto_ptr
This commit is contained in:
@@ -492,7 +492,7 @@ namespace BitTorrent
|
||||
void saveResumeData();
|
||||
|
||||
#if LIBTORRENT_VERSION_NUM < 10100
|
||||
void dispatchAlerts(std::auto_ptr<libtorrent::alert> alertPtr);
|
||||
void dispatchAlerts(libtorrent::alert *alertPtr);
|
||||
#endif
|
||||
void getPendingAlerts(std::vector<libtorrent::alert *> &out, ulong time = 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user