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 661b964..c5292d2 100644
--- a/src/poller_base.cpp
+++ b/src/poller_base.cpp
@@ -48,7 +48,7 @@ void zmq::poller_base_t::add_timer (int timeout_, i_poll_events *sink_, int id_)
{
uint64_t expiration = clock.now_ms () + timeout_;
timer_info_t info = {sink_, id_};
- timers.insert (std::make_pair (expiration, info));
+ timers.insert (timers_t::value_type (expiration, info));
}
void zmq::poller_base_t::cancel_timer (i_poll_events *sink_, int id_)