Merge branch 'master' into c++11

This commit is contained in:
Jari Sundell
2011-12-27 15:50:01 +09:00
10 changed files with 35 additions and 60 deletions
+2
View File
@@ -46,6 +46,7 @@
#include <torrent/http.h>
#include <torrent/torrent.h>
#include <torrent/exceptions.h>
#include <torrent/poll.h>
#include <torrent/data/chunk_utils.h>
#include <torrent/utils/log.h>
#include <rak/functional.h>
@@ -193,6 +194,7 @@ main(int argc, char** argv) {
// to process new non-socket events.
SignalHandler::set_handler(SIGUSR1, sigc::ptr_fun(&do_nothing));
torrent::Poll::slot_create_poll() = std::tr1::bind(&core::create_poll);
torrent::initialize(main_thread->poll());
// Initialize option handlers after libtorrent to ensure