diff options
-rw-r--r-- | src/poller_base.cpp | 2 |
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_) |