Skip to content

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

@oliora

Description

@oliora

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions