aboutsummaryrefslogtreecommitdiffstats
path: root/src/event/ServerSocket.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/event/ServerSocket.hxx')
-rw-r--r--src/event/ServerSocket.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/event/ServerSocket.hxx b/src/event/ServerSocket.hxx
index 9f0745708..a4ca2d96d 100644
--- a/src/event/ServerSocket.hxx
+++ b/src/event/ServerSocket.hxx
@@ -27,6 +27,7 @@
struct sockaddr;
class EventLoop;
class Error;
+class AllocatedPath;
typedef void (*server_socket_callback_t)(int fd,
const struct sockaddr *address,
@@ -100,7 +101,7 @@ public:
* ignore errors
* @return true on success
*/
- bool AddPath(const char *path, Error &error);
+ bool AddPath(AllocatedPath &&path, Error &error);
/**
* Add a socket descriptor that is accepting connections. After this