fix build

This commit is contained in:
Arvid Norberg 2013-01-01 19:15:41 +00:00
parent 1b268e7cd1
commit 3d0e5484ee
1 changed files with 1 additions and 1 deletions

View File

@ -1495,7 +1495,7 @@ namespace libtorrent
peer_connection* torrent::find_lowest_ranking_peer() const
{
// TODO: filter out peers that are disconnecting
peer_iterator lowest_rank = std::min_element(begin(), end()
const_peer_iterator lowest_rank = std::min_element(begin(), end()
, boost::bind(&peer_connection::peer_rank, _1)
< boost::bind(&peer_connection::peer_rank, _2));