mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-28 19:52:00 +01:00
Problem: magic numbers and code duplication in msg.cpp
Solution: extract constants and unified cases
This commit is contained in:
@@ -117,6 +117,7 @@ class msg_t
|
||||
bool is_leave () const;
|
||||
bool is_vsm () const;
|
||||
bool is_cmsg () const;
|
||||
bool is_lmsg () const;
|
||||
bool is_zcmsg () const;
|
||||
uint32_t get_routing_id ();
|
||||
int set_routing_id (uint32_t routing_id_);
|
||||
|
||||
Reference in New Issue
Block a user