Add new verb names, and fix some Mac compiler flags.

This commit is contained in:
Adam Ierymenko 2015-09-30 14:48:07 -07:00
parent 789046ca57
commit 0d0039674f
3 changed files with 10 additions and 11 deletions

View file

@ -1105,19 +1105,12 @@ public:
ERROR_UNWANTED_MULTICAST = 8
};
/**
* @param v Verb
* @return String representation (e.g. HELLO, OK)
*/
#ifdef ZT_TRACE
static const char *verbString(Verb v)
throw();
/**
* @param e Error code
* @return String error name
*/
static const char *errorString(ErrorCode e)
throw();
#endif
template<unsigned int C2>
Packet(const Buffer<C2> &b) :