forked from premiere/premiere-libtorrent
removed self() from peer_connection, since it's in intrusive_ptr_base now
This commit is contained in:
parent
0439399169
commit
6aeefaf513
|
@ -466,9 +466,6 @@ namespace libtorrent
|
||||||
// the peer belongs to.
|
// the peer belongs to.
|
||||||
aux::session_impl& m_ses;
|
aux::session_impl& m_ses;
|
||||||
|
|
||||||
boost::intrusive_ptr<peer_connection> self()
|
|
||||||
{ return boost::intrusive_ptr<peer_connection>(this); }
|
|
||||||
|
|
||||||
// called from the main loop when this connection has any
|
// called from the main loop when this connection has any
|
||||||
// work to do.
|
// work to do.
|
||||||
void on_send_data(asio::error_code const& error
|
void on_send_data(asio::error_code const& error
|
||||||
|
|
Loading…
Reference in New Issue