diff --git a/node/Packet.hpp b/node/Packet.hpp index 8c6ab941b..ae8780627 100644 --- a/node/Packet.hpp +++ b/node/Packet.hpp @@ -312,20 +312,14 @@ public: { public: ZT_ALWAYS_INLINE Fragment() : - Buffer() - { - } + Buffer() {} template ZT_ALWAYS_INLINE Fragment(const Buffer &b) : - Buffer(b) - { - } + Buffer(b) {} ZT_ALWAYS_INLINE Fragment(const void *data,unsigned int len) : - Buffer(data,len) - { - } + Buffer(data,len) {} /** * Initialize from a packet @@ -414,10 +408,7 @@ public: /** * @return Raw packet payload */ - ZT_ALWAYS_INLINE const unsigned char *payload() const - { - return field(ZT_PACKET_FRAGMENT_IDX_PAYLOAD,size() - ZT_PACKET_FRAGMENT_IDX_PAYLOAD); - } + ZT_ALWAYS_INLINE const unsigned char *payload() const { return field(ZT_PACKET_FRAGMENT_IDX_PAYLOAD,size() - ZT_PACKET_FRAGMENT_IDX_PAYLOAD); } }; /**