From b30c4eccbe4d1c9c021bce2edcf4b189a1835919 Mon Sep 17 00:00:00 2001 From: Guenter Obiltschnig Date: Sun, 28 Feb 2016 23:39:18 +0100 Subject: [PATCH] removed Unbound constructor --- Net/include/Poco/Net/DatagramSocket.h | 9 --------- Net/include/Poco/Net/MulticastSocket.h | 4 ---- Net/src/DatagramSocket.cpp | 5 ----- Net/src/MulticastSocket.cpp | 5 ----- 4 files changed, 23 deletions(-) diff --git a/Net/include/Poco/Net/DatagramSocket.h b/Net/include/Poco/Net/DatagramSocket.h index 9c04c7808..e25a16b0c 100644 --- a/Net/include/Poco/Net/DatagramSocket.h +++ b/Net/include/Poco/Net/DatagramSocket.h @@ -33,11 +33,6 @@ class Net_API DatagramSocket: public Socket /// UDP stream socket. { public: - enum Unbound - { - SOCKET_CREATE_UNBOUND - }; - DatagramSocket(); /// Creates an unconnected, unbound datagram socket. /// @@ -48,10 +43,6 @@ public: /// in release 2.0. Previously, the constructor created /// an unbound IPv4 datagram socket. - //@ deprecated - explicit DatagramSocket(Unbound unbound); - /// Creates an unconnected, unbound datagram socket. - explicit DatagramSocket(SocketAddress::Family family); /// Creates an unconnected datagram socket. /// diff --git a/Net/include/Poco/Net/MulticastSocket.h b/Net/include/Poco/Net/MulticastSocket.h index a410de381..fbc2a03bb 100644 --- a/Net/include/Poco/Net/MulticastSocket.h +++ b/Net/include/Poco/Net/MulticastSocket.h @@ -50,10 +50,6 @@ public: /// in release 2.0. Previously, the constructor created /// an unbound IPv4 multicast socket. - //@ deprecated - explicit MulticastSocket(Unbound unbound); - /// Creates an unconnected, unbound multicast datagram socket. - explicit MulticastSocket(SocketAddress::Family family); /// Creates an unconnected datagram socket. /// diff --git a/Net/src/DatagramSocket.cpp b/Net/src/DatagramSocket.cpp index a594b0dc4..c050f5b47 100644 --- a/Net/src/DatagramSocket.cpp +++ b/Net/src/DatagramSocket.cpp @@ -31,11 +31,6 @@ DatagramSocket::DatagramSocket(): Socket(new DatagramSocketImpl) } -DatagramSocket::DatagramSocket(Unbound): Socket(new DatagramSocketImpl) -{ -} - - DatagramSocket::DatagramSocket(SocketAddress::Family family): Socket(new DatagramSocketImpl(family)) { } diff --git a/Net/src/MulticastSocket.cpp b/Net/src/MulticastSocket.cpp index d7cf59aea..26a0aabc0 100644 --- a/Net/src/MulticastSocket.cpp +++ b/Net/src/MulticastSocket.cpp @@ -53,11 +53,6 @@ MulticastSocket::MulticastSocket() } -MulticastSocket::MulticastSocket(Unbound unbound): DatagramSocket() -{ -} - - MulticastSocket::MulticastSocket(SocketAddress::Family family): DatagramSocket(family) { #if defined(POCO_OS_FAMILY_UNIX)