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,14 +39,14 @@
#include "globals.h"
#include <tr1/functional>
#include lt_tr1_functional
#include <torrent/object.h>
namespace rpc {
class CommandSchedulerItem {
public:
typedef std::tr1::function<void ()> slot_void;
typedef std::function<void ()> slot_void;
CommandSchedulerItem(const std::string& key) : m_key(key), m_interval(0) {}
~CommandSchedulerItem();