summaryrefslogtreecommitdiff
path: root/src/event/ServerSocket.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-10-30 20:16:26 +0100
committerMax Kellermann <max@musicpd.org>2018-10-30 20:16:26 +0100
commitc6f61a699c7518b33860e692f201fd6383a4979c (patch)
treeb2928b0bcab5e2a83cceb9d07aad23c1ae4e4a03 /src/event/ServerSocket.hxx
parent0307b49f43bcd56f99ea6ee81c840c567750f409 (diff)
event/ServerSocket: make OneServerSocket an inner class
Diffstat (limited to 'src/event/ServerSocket.hxx')
-rw-r--r--src/event/ServerSocket.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/event/ServerSocket.hxx b/src/event/ServerSocket.hxx
index 8390e1859..8d8c2aaee 100644
--- a/src/event/ServerSocket.hxx
+++ b/src/event/ServerSocket.hxx
@@ -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;