From 6aeefaf5138a30ddbc52daaad9594067984d42a4 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Wed, 31 Oct 2007 09:44:31 +0000 Subject: [PATCH] removed self() from peer_connection, since it's in intrusive_ptr_base now --- include/libtorrent/peer_connection.hpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/libtorrent/peer_connection.hpp b/include/libtorrent/peer_connection.hpp index e1581affe..8e368a580 100755 --- a/include/libtorrent/peer_connection.hpp +++ b/include/libtorrent/peer_connection.hpp @@ -466,9 +466,6 @@ namespace libtorrent // the peer belongs to. aux::session_impl& m_ses; - boost::intrusive_ptr self() - { return boost::intrusive_ptr(this); } - // called from the main loop when this connection has any // work to do. void on_send_data(asio::error_code const& error