some more steps in the direction of getting it to build on vc7

This commit is contained in:
Arvid Norberg
2006-01-10 00:38:52 +00:00
parent c64393cb0e
commit 2d70a9b5bf
4 changed files with 11 additions and 7 deletions

View File

@@ -230,7 +230,8 @@ char const* peer_index(libtorrent::address addr, std::vector<libtorrent::peer_in
{
using namespace libtorrent;
std::vector<peer_info>::const_iterator i = std::find_if(peers.begin()
, peers.end(), bind(std::equal_to<address>(), bind(&peer_info::ip, _1), addr));
, peers.end(), boost::bind(std::equal_to<address>()
, bind(&peer_info::ip, _1), addr));
if (i == peers.end()) return "+";
static char str[] = " ";