summaryrefslogtreecommitdiff
path: root/src/network/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/core')
-rw-r--r--src/network/core/address.h9
1 files changed, 0 insertions, 9 deletions
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);