Hello!

I suggest adding "const" modifier for message_::copy and message_t::size 
like this

==
        inline void copy (message_t *msg_) const
        {
            int rc = zmq_msg_copy (this, (zmq_msg_t*) msg_);
            if (rc != 0)
                throw error_t ();
        }

        inline void *data ()
        {
            return zmq_msg_data (this);
        }

        inline size_t size () const
        {
            return zmq_msg_size (this);
        }
==

Please, advise me what is the best place for such a small things. Should I e.g. 
log a github ticket?

Thanks.


-- 
Best regards,
Ilja Golshtein.
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to