Replaced sigc++ calles for torrent::Http with tr1::bind.

This commit is contained in:
Jari Sundell
2011-11-17 01:06:52 +09:00
parent 00a42357d0
commit 308d91f817
3 changed files with 12 additions and 6 deletions
+2 -2
View File
@@ -156,8 +156,8 @@ DownloadFactory::receive_load() {
m_stream = new std::stringstream;
HttpQueue::iterator itr = m_manager->http_queue()->insert(m_uri, m_stream);
(*itr)->signal_done().slots().push_front(sigc::mem_fun(*this, &DownloadFactory::receive_loaded));
(*itr)->signal_failed().slots().push_front(sigc::mem_fun(*this, &DownloadFactory::receive_failed));
(*itr)->signal_done().push_front(std::bind(&DownloadFactory::receive_loaded, this));
(*itr)->signal_failed().push_front(std::bind(&DownloadFactory::receive_failed, this, std::placeholders::_1));
m_variables["tied_to_file"] = (int64_t)false;