minimal lint oriented code cleanup and reactor in session_handle.hpp

This commit is contained in:
Alden Torres 2018-03-04 16:57:48 -05:00 committed by Arvid Norberg
parent 135e47c929
commit d8ebcc7f0c
1 changed files with 1 additions and 4 deletions

View File

@ -884,9 +884,6 @@ namespace libtorrent {
TORRENT_DEPRECATED TORRENT_DEPRECATED
int max_uploads() const; int max_uploads() const;
TORRENT_DEPRECATED
void pop_alerts(std::deque<alert*>* alerts);
#endif #endif
// Alerts is the main mechanism for libtorrent to report errors and // Alerts is the main mechanism for libtorrent to report errors and
@ -1063,7 +1060,7 @@ namespace libtorrent {
Ret sync_call_ret(Fun f, Args&&... a) const; Ret sync_call_ret(Fun f, Args&&... a) const;
explicit session_handle(std::weak_ptr<aux::session_impl> impl) explicit session_handle(std::weak_ptr<aux::session_impl> impl)
: m_impl(impl) : m_impl(std::move(impl))
{} {}
std::weak_ptr<aux::session_impl> m_impl; std::weak_ptr<aux::session_impl> m_impl;