Browse Source

More mem*() stuff... sigh...

pull/1/head
Adam Ierymenko 7 years ago
parent
commit
752fc0742e
  1. 2
      node/Capability.hpp
  2. 2
      node/Tag.hpp

2
node/Capability.hpp

@ -426,7 +426,7 @@ public:
template<unsigned int C>
inline unsigned int deserialize(const Buffer<C> &b,unsigned int startAt = 0)
{
memset(this,0,sizeof(Capability));
*this = Capability();
unsigned int p = startAt;

2
node/Tag.hpp

@ -152,7 +152,7 @@ public:
{
unsigned int p = startAt;
memset(this,0,sizeof(Tag));
*this = Tag();
_networkId = b.template at<uint64_t>(p); p += 8;
_ts = b.template at<uint64_t>(p); p += 8;

Loading…
Cancel
Save