Merge pull request #7587 from SeppoTakalo/fix-tpcserver-warning

Allow legacy TCPServer::accept() to override inherited Socket::accept()
pull/7595/merge
Martin Kojtal 2018-07-25 14:20:05 +02:00 committed by GitHub
commit b170e1c44d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -59,6 +59,9 @@ public:
*/
virtual ~TCPServer();
// Allow legacy TCPServer::accept() to override inherited Socket::accept()
using TCPSocket::accept;
/** Accepts a connection on a TCP socket
*
* The server socket must be bound and set to listen for connections.