summaryrefslogtreecommitdiff
path: root/louloulibs/network/tcp_server_socket.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'louloulibs/network/tcp_server_socket.hpp')
-rw-r--r--louloulibs/network/tcp_server_socket.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/louloulibs/network/tcp_server_socket.hpp b/louloulibs/network/tcp_server_socket.hpp
index 7ea49ab..c511962 100644
--- a/louloulibs/network/tcp_server_socket.hpp
+++ b/louloulibs/network/tcp_server_socket.hpp
@@ -18,7 +18,7 @@ template <typename RemoteSocketType>
class TcpSocketServer: public SocketHandler
{
public:
- TcpSocketServer(std::shared_ptr<Poller> poller, const uint16_t port):
+ TcpSocketServer(std::shared_ptr<Poller>& poller, const uint16_t port):
SocketHandler(poller, -1)
{
if ((this->socket = ::socket(AF_INET6, SOCK_STREAM, 0)) == -1)