Problem: magic numbers and code duplication in msg.cpp

Solution: extract constants and unified cases
This commit is contained in:
Simon Giesecke
2018-05-28 16:30:20 +02:00
parent 18000a213f
commit 8269b23e56
2 changed files with 16 additions and 16 deletions

View File

@@ -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_);