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
@@ -38,11 +38,11 @@
#define RTORRENT_SIGNAL_HANDLER_H
#include <signal.h>
#include <tr1/functional>
#include lt_tr1_functional
class SignalHandler {
public:
typedef std::tr1::function<void ()> slot_void;
typedef std::function<void ()> slot_void;
// typedef void (*handler_slot)(int, siginfo_t *info, ucontext_t *uap);
typedef void (*handler_slot)(int, siginfo_t*, void*);