Skip to content

Commit eff9bcb

Browse files
committed
misuse of zmq_send_const
1 parent 3431f68 commit eff9bcb

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

zmq.hpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -624,11 +624,7 @@ namespace zmq
624624

625625
inline size_t send (const void *buf_, size_t len_, int flags_ = 0)
626626
{
627-
#if ZMQ_VERSION >= ZMQ_MAKE_VERSION(4, 0, 8)
628-
int nbytes = zmq_send_const (ptr, buf_, len_, flags_);
629-
#else
630627
int nbytes = zmq_send (ptr, buf_, len_, flags_);
631-
#endif
632628
if (nbytes >= 0)
633629
return (size_t) nbytes;
634630
if (zmq_errno () == EAGAIN)

0 commit comments

Comments
 (0)