summaryrefslogtreecommitdiff
path: root/ev++.h
diff options
context:
space:
mode:
Diffstat (limited to 'ev++.h')
-rw-r--r--ev++.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ev++.h b/ev++.h
index 6086a97..cac1d03 100644
--- a/ev++.h
+++ b/ev++.h
@@ -71,7 +71,8 @@ namespace ev {
void operator ()(int events = EV_UNDEF)
{
- return e_cb (static_cast<ev_watcher *>(this)) (events);
+ return ev_cb (static_cast<ev_watcher *>(this))
+ (static_cast<ev_watcher *>(this), events);
}
bool is_active () const