remove redundant boost::bind

This commit is contained in:
arvidn 2015-12-25 15:59:50 -05:00
parent d725844547
commit 1698dc75dc
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 9c0ec5fb376a4d297fa7b1418e4baaeddeb9187f
Subproject commit a6129b41688ae3caa667f0ac766080fbee28eb37

View File

@ -4341,7 +4341,7 @@ retry:
boost::weak_ptr<torrent> session_impl::find_disconnect_candidate_torrent() const
{
aux::session_impl::torrent_map::const_iterator i = std::min_element(m_torrents.begin(), m_torrents.end()
, boost::bind(&compare_disconnect_torrent, _1, _2));
, &compare_disconnect_torrent);
TORRENT_ASSERT(i != m_torrents.end());
if (i == m_torrents.end()) return boost::shared_ptr<torrent>();