Remove SOO in IPAddress and SocketAddress

This commit is contained in:
Joerg-Christian Boehme
2017-11-02 20:54:38 +01:00
parent 5a6009d9a2
commit 1ec60225b6
6 changed files with 3 additions and 178 deletions

View File

@@ -168,7 +168,6 @@ SocketAddress::SocketAddress(const struct sockaddr* sockAddr, poco_socklen_t len
SocketAddress::~SocketAddress()
{
destruct();
}
@@ -189,7 +188,6 @@ SocketAddress& SocketAddress::operator = (const SocketAddress& socketAddress)
{
if (&socketAddress != this)
{
destruct();
if (socketAddress.family() == IPv4)
newIPv4(reinterpret_cast<const sockaddr_in*>(socketAddress.addr()));
#if defined(POCO_HAVE_IPv6)