… | … | ||
---|---|---|---|
478 | } | 478 | } |
479 | 479 | ||
480 | template<class K, void (K::*method)()> | 480 | template<class K, void (K::*method)()> |
481 | static void method_noargs_thunk (EV_P_ ev_watcher *w, int revents) | 481 | static void method_noargs_thunk (EV_P_ ev_watcher *w, int revents) |
482 | { | 482 | { |
483 | static_cast<K *>(w->data)->*method | 483 | (static_cast<K *>(w->data)->*method) |
484 | (); | 484 | (); |
485 | } | 485 | } |
486 | 486 | ||
487 | void operator ()(int events = EV_UNDEF) | 487 | void operator ()(int events = EV_UNDEF) |
488 | { | 488 | { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |