Commit f9e6d94b authored by Martin Pales's avatar Martin Pales Committed by Martin Sustrik

zmq::poller_base_t : workaround for sunstudio compiler in add_timer()

A minor workaround to resolve compilation error with sunstudio compiler,
which does not yet support member templates for std::multimap.
Signed-off-by: 's avatarMartin Pales <m.pales@gmail.com>
parent cafcdbbe
......@@ -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_)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment