diff --git a/src/peer_connection.cpp b/src/peer_connection.cpp index 703164307..564d077c2 100644 --- a/src/peer_connection.cpp +++ b/src/peer_connection.cpp @@ -280,7 +280,6 @@ namespace libtorrent bool peer_connection::unchoke_compare(boost::intrusive_ptr const& p) const { TORRENT_ASSERT(p); - TORRENT_ASSERT(this != p); peer_connection const& rhs = *p; // first compare how many bytes they've sent us