diff options
Diffstat (limited to 'include/raul')
-rw-r--r-- | include/raul/Socket.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/raul/Socket.hpp b/include/raul/Socket.hpp index e62ffb8..db51645 100644 --- a/include/raul/Socket.hpp +++ b/include/raul/Socket.hpp @@ -211,7 +211,7 @@ Socket::accept() const int conn = ::accept(_sock, client_addr, &client_addr_len); if (conn == -1) { free(client_addr); - return std::shared_ptr<Socket>(); + return {}; } std::string client_uri = _uri; |