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 -2
View File
@@ -4,7 +4,7 @@
#include <curl/multi.h>
#include <torrent/exceptions.h>
#include "utils/functional.h"
#include "rak/functional.h"
#include "curl_get.h"
#include "curl_stack.h"
@@ -41,7 +41,7 @@ CurlStack::perform() {
CURLMsg* msg = curl_multi_info_read((CURLM*)m_handle, &t);
CurlGetList::iterator itr = std::find_if(m_getList.begin(), m_getList.end(),
utils::equal(msg->easy_handle, std::mem_fun(&CurlGet::handle)));
rak::equal(msg->easy_handle, std::mem_fun(&CurlGet::handle)));
if (itr == m_getList.end())
throw torrent::client_error("Could not find CurlGet with the right easy_handle");