mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 08:36:26 +02:00
don't use COW-less SpecialAddress assignment
This commit is contained in:
parent
9345f4545f
commit
e450ac5bd3
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ public:
|
||||||
HifiSockAddr(const sockaddr* sockaddr);
|
HifiSockAddr(const sockaddr* sockaddr);
|
||||||
|
|
||||||
bool isNull() const { return _address.isNull() && _port == 0; }
|
bool isNull() const { return _address.isNull() && _port == 0; }
|
||||||
void clear() { _address = QHostAddress::Null; _port = 0;}
|
void clear() { _address.clear(); _port = 0;}
|
||||||
|
|
||||||
HifiSockAddr& operator=(const HifiSockAddr& rhsSockAddr);
|
HifiSockAddr& operator=(const HifiSockAddr& rhsSockAddr);
|
||||||
void swap(HifiSockAddr& otherSockAddr);
|
void swap(HifiSockAddr& otherSockAddr);
|
||||||
|
|
Loading…
Reference in a new issue