Problem: redundant inline/ZMQ_FINAL declarations

Solution: remove them
This commit is contained in:
Simon Giesecke
2020-02-04 11:57:58 +01:00
parent 84ec65482f
commit db8f4fba21
61 changed files with 303 additions and 328 deletions

View File

@@ -131,11 +131,12 @@ class msg_t
// These are called on each message received by the session_base class,
// so get them inlined to avoid the overhead of 2 function calls per msg
inline bool is_subscribe () const
bool is_subscribe () const
{
return (_u.base.flags & CMD_TYPE_MASK) == subscribe;
}
inline bool is_cancel () const
bool is_cancel () const
{
return (_u.base.flags & CMD_TYPE_MASK) == cancel;
}