summaryrefslogtreecommitdiff
path: root/node/Packet.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-09-30 14:48:07 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-09-30 14:48:07 -0700
commit0d0039674fefbfc14eb41f3bdbec7bf3e6dba9a5 (patch)
tree68c5b7885bd54fbf5981b9c21c6823f781424d86 /node/Packet.hpp
parent789046ca575e0aabe621c312832a8ccadf102989 (diff)
downloadinfinitytier-0d0039674fefbfc14eb41f3bdbec7bf3e6dba9a5.tar.gz
infinitytier-0d0039674fefbfc14eb41f3bdbec7bf3e6dba9a5.zip
Add new verb names, and fix some Mac compiler flags.
Diffstat (limited to 'node/Packet.hpp')
-rw-r--r--node/Packet.hpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/node/Packet.hpp b/node/Packet.hpp
index 2a1a39af..71fa6e56 100644
--- a/node/Packet.hpp
+++ b/node/Packet.hpp
@@ -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) :