fixed some bind-statements to build on vc7

This commit is contained in:
Arvid Norberg
2006-01-06 21:36:17 +00:00
parent 564ae78012
commit e810ebaf1f
3 changed files with 3 additions and 3 deletions

View File

@@ -1722,7 +1722,7 @@ namespace libtorrent
if ((int)tmp_pieces.size() == info.num_pieces()
&& std::find_if(tmp_pieces.begin(), tmp_pieces.end()
, boost::bind(std::less<int>(), _1, 0)) == tmp_pieces.end())
, boost::bind<bool>(std::less<int>(), _1, 0)) == tmp_pieces.end())
{
if (info.num_files() != (int)file_sizes.size())
{