forked from premiere/premiere-libtorrent
remove redundant boost::bind
This commit is contained in:
parent
d725844547
commit
1698dc75dc
|
@ -1 +1 @@
|
|||
Subproject commit 9c0ec5fb376a4d297fa7b1418e4baaeddeb9187f
|
||||
Subproject commit a6129b41688ae3caa667f0ac766080fbee28eb37
|
|
@ -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>();
|
||||
|
|
Loading…
Reference in New Issue