diff options
-rw-r--r-- | includes/Task.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/Task.h b/includes/Task.h index 159e68d..27ba4b1 100644 --- a/includes/Task.h +++ b/includes/Task.h @@ -67,6 +67,7 @@ class BaseEvent { class Timeout : public BaseEvent { public: + Timeout() { } Timeout(ev_tstamp tstamp) { set(tstamp); } virtual ~Timeout() { m_evt.stop(); } void evt_cb(ev::timer & w, int revents) { doSignal(); } |