diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2012-02-16 10:04:53 +0900 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2012-02-16 10:04:53 +0900 |
commit | aaa766acf7596eb4de7afe6ae0121335f4fd05da (patch) | |
tree | affa1fdb70ba90ae9893d452dea13776faeb6ff4 /src/io_object.cpp | |
parent | 71744dc8ef9b59a342b03f7ba2c3699f5ccb862a (diff) |
cancel_timer function renamed to rm_timer
This is more consistent with adjacent add_fd and rm_fd functions.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/io_object.cpp')
-rw-r--r-- | src/io_object.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/io_object.cpp b/src/io_object.cpp index 8c4f2fe..730123e 100644 --- a/src/io_object.cpp +++ b/src/io_object.cpp @@ -87,9 +87,9 @@ void xs::io_object_t::add_timer (int timeout_, int id_) poller->add_timer (timeout_, this, id_); } -void xs::io_object_t::cancel_timer (int id_) +void xs::io_object_t::rm_timer (int id_) { - poller->cancel_timer (this, id_); + poller->rm_timer (this, id_); } void xs::io_object_t::in_event (fd_t fd_) |