Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.

Commit b170e1c

Browse files
authored
Merge pull request ARMmbed#7587 from SeppoTakalo/fix-tpcserver-warning
Allow legacy TCPServer::accept() to override inherited Socket::accept()
2 parents 7adfcbe + 96a90c2 commit b170e1c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

features/netsocket/TCPServer.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ class TCPServer : public TCPSocket {
5959
*/
6060
virtual ~TCPServer();
6161

62+
// Allow legacy TCPServer::accept() to override inherited Socket::accept()
63+
using TCPSocket::accept;
64+
6265
/** Accepts a connection on a TCP socket
6366
*
6467
* The server socket must be bound and set to listen for connections.

0 commit comments

Comments
 (0)