From 2d8036e3a83d1a9cc48b253424ee8e1831b8b511 Mon Sep 17 00:00:00 2001 From: Jari Sundell Date: Sun, 11 Dec 2011 17:52:10 +0900 Subject: [PATCH] Use new API call. --- src/core/manager.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/manager.cc b/src/core/manager.cc index d36e78fa..b2d431ae 100644 --- a/src/core/manager.cc +++ b/src/core/manager.cc @@ -206,7 +206,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(std::bind(&CurlStack::new_object, m_httpStack)); + torrent::Http::slot_factory() = std::bind(&CurlStack::new_object, m_httpStack); m_httpQueue->slot_factory(sigc::mem_fun(m_httpStack, &CurlStack::new_object)); CurlStack::global_init();