Fix: GCC9's warnings about deprecated implicit assignment operators

This commit is contained in:
Charles Pigott
2019-06-29 19:58:30 +01:00
parent acf0242961
commit 71a3e83468
6 changed files with 17 additions and 51 deletions

View File

@@ -91,15 +91,6 @@ public:
this->SetPort(port);
}
/**
* Make a clone of another address
* @param address the address to clone
*/
NetworkAddress(const NetworkAddress &address)
{
memcpy(this, &address, sizeof(*this));
}
const char *GetHostname();
void GetAddressAsString(char *buffer, const char *last, bool with_family = true);
const char *GetAddressAsString(bool with_family = true);