From 4918bc6aad446b04d0489c912bb02f851a1f7a97 Mon Sep 17 00:00:00 2001 From: Kimmo Vaisanen Date: Tue, 24 Mar 2020 12:32:38 +0200 Subject: [PATCH] TCPSocket: Remove deprecated contructor with open Default constructor and separate open call should be used instead. --- features/netsocket/TCPSocket.h | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/features/netsocket/TCPSocket.h b/features/netsocket/TCPSocket.h index 3bbed020bf..7749f671e6 100644 --- a/features/netsocket/TCPSocket.h +++ b/features/netsocket/TCPSocket.h @@ -37,25 +37,6 @@ public: */ TCPSocket(); - /** Create a socket on a network interface - * - * Creates and opens a socket on the network stack of the given - * network interface. - * - * @param stack Network stack as target for socket - * - * @deprecated since mbed-os-5.11 - */ - template - MBED_DEPRECATED_SINCE("mbed-os-5.11", - "The TCPSocket(S *stack) constructor is deprecated." - "It discards the open() call return value." - "Use another constructor and call open() explicitly, instead.") - TCPSocket(S *stack) : TCPSocket() - { - open(stack); - } - /** Override multicast functions to return error for TCP * */