mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-13 02:36:54 +02:00
More mem*() stuff... sigh...
This commit is contained in:
parent
e1091611da
commit
752fc0742e
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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…
Add table
Reference in a new issue