mirror of
https://github.com/zeromq/cppzmq.git
synced 2025-03-01 10:57:59 +01:00
Merge pull request #309 from gummif/gfa/poller-millis
Problem: zmq_poller_wait_all is called with microseconds count
This commit is contained in:
commit
132f7b00df
2
zmq.hpp
2
zmq.hpp
@ -1223,7 +1223,7 @@ template<typename T = void> class poller_t
|
||||
}
|
||||
|
||||
size_t wait_all(std::vector<zmq_poller_event_t> &poller_events,
|
||||
const std::chrono::microseconds timeout)
|
||||
const std::chrono::milliseconds timeout)
|
||||
{
|
||||
int rc = zmq_poller_wait_all(poller_ptr.get(), poller_events.data(),
|
||||
static_cast<int>(poller_events.size()),
|
||||
|
Loading…
x
Reference in New Issue
Block a user