mirror of
https://github.com/zeromq/cppzmq.git
synced 2025-01-19 08:46:45 +01:00
Problem: zmq_poller_wait_all is called with microseconds count
Solution: Change wait_all parameter type to std::chrono::milliseconds
This commit is contained in:
parent
5c95a07d72
commit
ed63f9adae
2
zmq.hpp
2
zmq.hpp
@ -1218,7 +1218,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