mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-08 07:09:21 +00:00
C++11 compatibility fixes.
This commit is contained in:
@@ -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*);
|
||||
|
||||
Reference in New Issue
Block a user