Get rid of ZT_FAST_MEMCPY because this is not really needed.
This commit is contained in:
parent
d530356055
commit
2966eac64f
19 changed files with 76 additions and 114 deletions
|
@ -119,7 +119,7 @@ public:
|
|||
|
||||
CertificateOfMembership(const CertificateOfMembership &c)
|
||||
{
|
||||
ZT_FAST_MEMCPY(this,&c,sizeof(CertificateOfMembership));
|
||||
memcpy(this,&c,sizeof(CertificateOfMembership));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -147,7 +147,7 @@ public:
|
|||
|
||||
inline CertificateOfMembership &operator=(const CertificateOfMembership &c)
|
||||
{
|
||||
ZT_FAST_MEMCPY(this,&c,sizeof(CertificateOfMembership));
|
||||
memcpy(this,&c,sizeof(CertificateOfMembership));
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
@ -329,7 +329,7 @@ public:
|
|||
p += ZT_ADDRESS_LENGTH;
|
||||
|
||||
if (_signedBy) {
|
||||
ZT_FAST_MEMCPY(_signature.data,b.field(p,ZT_C25519_SIGNATURE_LEN),ZT_C25519_SIGNATURE_LEN);
|
||||
memcpy(_signature.data,b.field(p,ZT_C25519_SIGNATURE_LEN),ZT_C25519_SIGNATURE_LEN);
|
||||
p += ZT_C25519_SIGNATURE_LEN;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue