summaryrefslogtreecommitdiff
path: root/src/poller_base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/poller_base.cpp')
-rw-r--r--src/poller_base.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/poller_base.cpp b/src/poller_base.cpp
index 39ae654..bc03444 100644
--- a/src/poller_base.cpp
+++ b/src/poller_base.cpp
@@ -75,7 +75,7 @@ void xs::poller_base_t::add_timer (int timeout_, i_poll_events *sink_, int id_)
timers.insert (timers_t::value_type (expiration, info));
}
-void xs::poller_base_t::cancel_timer (i_poll_events *sink_, int id_)
+void xs::poller_base_t::rm_timer (i_poll_events *sink_, int id_)
{
// Complexity of this operation is O(n). We assume it is rarely used.
for (timers_t::iterator it = timers.begin (); it != timers.end (); ++it)