From 71a3e83468e36613ffe53b4e1689d52062da7c80 Mon Sep 17 00:00:00 2001 From: Charles Pigott Date: Sat, 29 Jun 2019 19:58:30 +0100 Subject: Fix: GCC9's warnings about deprecated implicit assignment operators --- src/network/core/address.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/network') diff --git a/src/network/core/address.h b/src/network/core/address.h index 4dd0edbc0..2f27a083a 100644 --- a/src/network/core/address.h +++ b/src/network/core/address.h @@ -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); -- cgit v1.2.3-70-g09d2