From 8363c809f308d4444f478d5c2b82362f2e601637 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Fri, 5 Mar 2004 16:46:38 +0000 Subject: [PATCH] *** empty log message *** --- src/session.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/session.cpp b/src/session.cpp index 7707c6df8..5c4b24bc8 100755 --- a/src/session.cpp +++ b/src/session.cpp @@ -1147,13 +1147,13 @@ namespace libtorrent file_sizes.push_back(i->integer()); } #else -// typedef entry::integer_type (entry::*mem_fun_type)() const; + typedef entry::integer_type const& (entry::*mem_fun_type)() const; std::transform( l.begin() , l.end() , std::back_inserter(file_sizes) - , boost::bind(&entry::integer, _1)); + , boost::bind((mem_fun_type)&entry::integer, _1)); #endif if (!match_filesizes(info, save_path, file_sizes)) return;