Problem: zmq_msg_get_routing_id () is not consistent with API

We do not use 'get' for getters.

Solution: rename to zmq_msg_routing_id () for public API.
This commit is contained in:
Pieter Hintjens
2015-09-11 13:15:00 -04:00
parent 7be6ad0504
commit 87f2dff38c
7 changed files with 24 additions and 26 deletions

View File

@@ -97,8 +97,8 @@ namespace zmq
bool is_vsm () const;
bool is_cmsg () const;
bool is_zcmsg() const;
uint32_t get_routing_id();
int set_routing_id(uint32_t routing_id_);
uint32_t get_routing_id ();
int set_routing_id (uint32_t routing_id_);
// After calling this function you can copy the message in POD-style
// refs_ times. No need to call copy.