mirror of
https://github.com/zeromq/cppzmq.git
synced 2025-10-23 08:31:46 +02:00
Fix 'recv' function 'flags_' argument default value
This commit is contained in:
6
zmq.hpp
6
zmq.hpp
@@ -1212,11 +1212,7 @@ public:
|
||||
#ifdef ZMQ_CPP11
|
||||
ZMQ_DEPRECATED("from 4.3.1, use recv taking a reference to message_t and recv_flags")
|
||||
#endif
|
||||
bool recv(message_t *msg_, int flags_
|
||||
#ifndef ZMQ_CPP11
|
||||
= 0
|
||||
#endif
|
||||
)
|
||||
bool recv(message_t *msg_, int flags_ = 0)
|
||||
{
|
||||
int nbytes = zmq_msg_recv(msg_->handle(), _handle, flags_);
|
||||
if (nbytes >= 0)
|
||||
|
Reference in New Issue
Block a user