diff --git a/zmq_addon.hpp b/zmq_addon.hpp index b68127d7..504115a7 100644 --- a/zmq_addon.hpp +++ b/zmq_addon.hpp @@ -123,11 +123,14 @@ ZMQ_NODISCARD recv_result_t recv_multipart_n(socket_ref s, by the msgs range will be propagated and the message may have been only partially sent. It is adviced to close this socket in that event. */ -template::value && (std::is_same, message_t>::value - || detail::is_buffer>::value)>::type> + || detail::is_buffer>::value)>::type +#endif + > send_result_t send_multipart(socket_ref s, Range &&msgs, send_flags flags = send_flags::none) {