C++11 fixes.

This commit is contained in:
Jari Sundell
2011-12-27 16:45:19 +09:00
parent f51b280cbf
commit 0626dcf783
14 changed files with 32 additions and 32 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ public:
void throw_shutdown_exception() { throw torrent::shutdown_exception(); }
ThreadBase::ThreadBase() {
m_taskShutdown.set_slot(rak::ptr_fn(&throw_shutdown_exception));
m_taskShutdown.slot() = std::tr1::bind(&throw_shutdown_exception);
m_threadQueue = new thread_queue_hack;
}