C++11 compatibility fixes.

This commit is contained in:
rakshasa
2014-05-13 23:36:37 +09:00
parent e42ec54920
commit 3b39f37f49
77 changed files with 886 additions and 803 deletions
+2 -2
View File
@@ -53,7 +53,7 @@
#include <vector>
#include <rak/timer.h>
#include <torrent/object.h>
#include <tr1/functional>
#include lt_tr1_functional
#include "globals.h"
@@ -64,7 +64,7 @@ class Download;
class View : private std::vector<Download*> {
public:
typedef std::vector<Download*> base_type;
typedef std::tr1::function<void ()> slot_void;
typedef std::function<void ()> slot_void;
typedef std::list<slot_void> signal_void;
using base_type::iterator;