minimizing the number of warnings about deprecated auto_ptr

This commit is contained in:
dzmat
2016-12-08 19:13:14 +07:00
parent ba1e5b8d58
commit abeff99ba0
2 changed files with 4 additions and 4 deletions

View File

@@ -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);