event/ServerSocket: make OneServerSocket an inner class

This commit is contained in:
Max Kellermann
2018-10-30 20:16:26 +01:00
parent 0307b49f43
commit c6f61a699c
2 changed files with 7 additions and 8 deletions

View File

@@ -27,13 +27,12 @@ class AllocatedSocketAddress;
class UniqueSocketDescriptor;
class EventLoop;
class AllocatedPath;
class OneServerSocket;
/**
* A socket that accepts incoming stream connections (e.g. TCP).
*/
class ServerSocket {
friend class OneServerSocket;
class OneServerSocket;
EventLoop &loop;