net/ServerSocket: pass UniqueSocketDescriptor&& to OnAccept()
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
class UniqueSocketDescriptor;
|
||||
class HttpdOutput;
|
||||
|
||||
class HttpdClient final
|
||||
@@ -131,7 +132,8 @@ public:
|
||||
* @param httpd the HTTP output device
|
||||
* @param _fd the socket file descriptor
|
||||
*/
|
||||
HttpdClient(HttpdOutput &httpd, SocketDescriptor _fd, EventLoop &_loop,
|
||||
HttpdClient(HttpdOutput &httpd, UniqueSocketDescriptor &&_fd,
|
||||
EventLoop &_loop,
|
||||
bool _metadata_supported);
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user