Skip to content

Commit 96a90c2

Browse files
author
Seppo Takalo
committed
Allow legacy TCPServer::accept() to override inherited Socket::accept()
1 parent 5d5ca62 commit 96a90c2

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)