From 1698dc75dcf1b396d0b71a4981ad1a1c9c1cc764 Mon Sep 17 00:00:00 2001 From: arvidn Date: Fri, 25 Dec 2015 15:59:50 -0500 Subject: [PATCH] remove redundant boost::bind --- simulation/libsimulator | 2 +- src/session_impl.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/simulation/libsimulator b/simulation/libsimulator index 9c0ec5fb3..a6129b416 160000 --- a/simulation/libsimulator +++ b/simulation/libsimulator @@ -1 +1 @@ -Subproject commit 9c0ec5fb376a4d297fa7b1418e4baaeddeb9187f +Subproject commit a6129b41688ae3caa667f0ac766080fbee28eb37 diff --git a/src/session_impl.cpp b/src/session_impl.cpp index d9d231b22..9d31d85d8 100644 --- a/src/session_impl.cpp +++ b/src/session_impl.cpp @@ -4341,7 +4341,7 @@ retry: boost::weak_ptr 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();