diff options
Diffstat (limited to 'net/SslSocket.hpp')
-rw-r--r-- | net/SslSocket.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/SslSocket.hpp b/net/SslSocket.hpp index 87b4b339b..0f43869d2 100644 --- a/net/SslSocket.hpp +++ b/net/SslSocket.hpp @@ -21,8 +21,8 @@ class SslStreamSocket : public StreamSocket { public: - SslStreamSocket(const int fd, SocketHandlerInterface* responseClient) : - StreamSocket(fd, responseClient), + SslStreamSocket(const int fd, std::unique_ptr<SocketHandlerInterface> responseClient) : + StreamSocket(fd, std::move(responseClient)), _ssl(nullptr), _sslWantsTo(SslWantsTo::ReadOrWrite), _doHandshake(true) |