From ed63f9adaea93ac4e8e2e76a59611bd35676cbd3 Mon Sep 17 00:00:00 2001 From: Gudmundur Adalsteinsson Date: Sun, 7 Apr 2019 10:56:27 +0000 Subject: [PATCH] Problem: zmq_poller_wait_all is called with microseconds count Solution: Change wait_all parameter type to std::chrono::milliseconds --- zmq.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zmq.hpp b/zmq.hpp index ad9e9db..16f3ba2 100644 --- a/zmq.hpp +++ b/zmq.hpp @@ -1218,7 +1218,7 @@ template class poller_t } size_t wait_all(std::vector &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(poller_events.size()),