Wed, 27 Jan 2021 14:06:45 +0200
deleted constructors from IPAddress
--- a/sources/network/ipaddress.cpp Wed Jan 27 14:05:39 2021 +0200 +++ b/sources/network/ipaddress.cpp Wed Jan 27 14:06:45 2021 +0200 @@ -48,24 +48,6 @@ // ----------------------------------------------------------------------------- // -IPAddress::IPAddress() : - host (0), - port (0) {} - -// ----------------------------------------------------------------------------- -// -IPAddress::IPAddress (unsigned long host, unsigned short port) : - host (host), - port (port) {} - -// ----------------------------------------------------------------------------- -// -IPAddress::IPAddress (const IPAddress& other) : - host (other.host), - port (other.port) {} - -// ----------------------------------------------------------------------------- -// std::string IPAddress::to_string (WithPort withport) const { std::string val;
--- a/sources/network/ipaddress.h Wed Jan 27 14:05:39 2021 +0200 +++ b/sources/network/ipaddress.h Wed Jan 27 14:06:45 2021 +0200 @@ -66,10 +66,6 @@ unsigned long host; unsigned short port; - IPAddress(); - IPAddress (unsigned long host, unsigned short port); - IPAddress (const IPAddress& other); - bool compare (const IPAddress& other) const; unsigned char octet (int n) const; void set_octet (int n, unsigned char oct);