Skip to content

Commit 68d173a

Browse files
committed
feat: add send_flags overload for multipart_t::send
1 parent f82d357 commit 68d173a

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎zmq_addon.hpp‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,13 @@ class multipart_t
491491
return true;
492492
}
493493

494+
#ifdef ZMQ_CPP11
495+
bool send(socket_ref socket, send_flags flags)
496+
{
497+
return send(socket, static_cast<int>(flags));
498+
}
499+
#endif
500+
494501
// Concatenate other multipart to front
495502
void prepend(multipart_t &&other)
496503
{

0 commit comments

Comments
 (0)