Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
oliora opened this issue Sep 28, 2015 · 1 comment
Open

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

oliora opened this issue Sep 28, 2015 · 1 comment

Comments

@oliora
Copy link

oliora commented Sep 28, 2015

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
Copy link
Author

oliora commented Oct 22, 2015

@rodgert what do you think about this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant