[zeromq-dev] (no subject)
Ilja Golshtein
ilejncs at narod.ru
Wed Apr 20 13:57:01 CEST 2011
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.
More information about the zeromq-dev
mailing list