diff --git a/src/torrent.cpp b/src/torrent.cpp index 8e76b25b8..677d99342 100755 --- a/src/torrent.cpp +++ b/src/torrent.cpp @@ -376,8 +376,8 @@ namespace libtorrent } else { - ++i; assert(std::find(m_connections.begin(), m_connections.end(), boost::get_pointer(i->second)) == m_connections.end()); + ++i; } } assert(m_connections.empty());