summaryrefslogtreecommitdiff
path: root/src/event/ServerSocket.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/event/ServerSocket.hxx')
-rw-r--r--src/event/ServerSocket.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/event/ServerSocket.hxx b/src/event/ServerSocket.hxx
index 8d8c2aaee..3cb0ad422 100644
--- a/src/event/ServerSocket.hxx
+++ b/src/event/ServerSocket.hxx
@@ -49,8 +49,8 @@ public:
}
private:
- OneServerSocket &AddAddress(SocketAddress address) noexcept;
- OneServerSocket &AddAddress(AllocatedSocketAddress &&address) noexcept;
+ template<typename A>
+ OneServerSocket &AddAddress(A &&address) noexcept;
/**
* Add a listener on a port on all IPv4 interfaces.