azmq icon indicating copy to clipboard operation
azmq copied to clipboard

message's move ctor/assignment should use zmq_msg_move()

Open oliora opened this issue 10 years ago • 1 comments

Currently, azmq::message move ctor/assignment implements the equivalent of zmq_msg_move(). This is not error prone against future changes in ZMQ. I propose to simply call zmq_msg_move() instead.

Btw, current implementation of move assignment has leak: existing message is not closed before assigning.

oliora avatar Sep 28 '15 20:09 oliora

@rodgert what do you think about this issue?

oliora avatar Oct 22 '15 08:10 oliora