minimal lint oriented code cleanup and reactor in session_handle.hpp
This commit is contained in:
parent
135e47c929
commit
d8ebcc7f0c
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue