Seperated out my template algorithms and stuff.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@334 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2005-03-08 18:25:34 +00:00
parent f379abb200
commit a4dbdffcb8
16 changed files with 40 additions and 38 deletions
+2 -3
View File
@@ -3,7 +3,7 @@
#include <algorithm>
#include "log.h"
#include "utils/functional.h"
#include "rak/functional.h"
namespace core {
@@ -16,8 +16,7 @@ Log::push_front(const std::string& msg) {
Log::iterator
Log::find_older(utils::Timer t) {
return std::find_if(begin(), end(),
utils::on(utils::mem_ptr_ref(&Type::first), std::bind2nd(std::less_equal<utils::Timer>(), t)));
return std::find_if(begin(), end(), rak::on(rak::mem_ptr_ref(&Type::first), std::bind2nd(std::less_equal<utils::Timer>(), t)));
}
}