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
@@ -39,13 +39,13 @@
#include <torrent/event.h>
#include <torrent/poll.h>
#include <tr1/functional>
#include lt_tr1_functional
namespace input {
class InputEvent : public torrent::Event {
public:
typedef std::tr1::function<void (int)> slot_int;
typedef std::function<void (int)> slot_int;
InputEvent(int fd) { m_fileDesc = fd; }