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
|
@ -222,8 +222,8 @@ class NetworkConfig
|
|||
{
|
||||
public:
|
||||
NetworkConfig() { memset(this,0,sizeof(NetworkConfig)); }
|
||||
NetworkConfig(const NetworkConfig &nc) { ZT_FAST_MEMCPY(this,&nc,sizeof(NetworkConfig)); }
|
||||
inline NetworkConfig &operator=(const NetworkConfig &nc) { ZT_FAST_MEMCPY(this,&nc,sizeof(NetworkConfig)); return *this; }
|
||||
NetworkConfig(const NetworkConfig &nc) { memcpy(this,&nc,sizeof(NetworkConfig)); }
|
||||
inline NetworkConfig &operator=(const NetworkConfig &nc) { memcpy(this,&nc,sizeof(NetworkConfig)); return *this; }
|
||||
|
||||
/**
|
||||
* Write this network config to a dictionary for transport
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue