diff --git a/zmq.hpp b/zmq.hpp index 00e1791e..260d5aa1 100644 --- a/zmq.hpp +++ b/zmq.hpp @@ -310,6 +310,7 @@ inline int poll(std::vector &items, return poll(items.data(), items.size(), static_cast(timeout.count())); } +ZMQ_DEPRECATED("from 4.3.1, use poll taking std::chrono instead of long") inline int poll(std::vector &items, long timeout_ = -1) { return poll(items.data(), items.size(), timeout_);