Merge branch 'master' into c++11

Conflicts:
	src/core/manager.cc
	src/thread_base.cc
This commit is contained in:
Jari Sundell
2011-12-13 19:49:10 +09:00
20 changed files with 60 additions and 665 deletions
+2 -4
View File
@@ -71,9 +71,7 @@
#include "download_store.h"
#include "http_queue.h"
#include "manager.h"
#include "poll_manager_epoll.h"
#include "poll_manager_kqueue.h"
#include "poll_manager_select.h"
#include "poll_manager.h"
#include "view.h"
namespace core {
@@ -204,7 +202,7 @@ Manager::get_address_throttle(const sockaddr* addr) {
// Most of this should be possible to move out.
void
Manager::initialize_second() {
torrent::Http::set_factory(tr1::bind(&CurlStack::new_object, m_httpStack));
torrent::Http::slot_factory() = std::tr1::bind(&CurlStack::new_object, m_httpStack);
m_httpQueue->slot_factory(sigc::mem_fun(m_httpStack, &CurlStack::new_object));
CurlStack::global_init();