From 3dce87e6dd37bdd6144937b5c15544c992953504 Mon Sep 17 00:00:00 2001 From: dec05eba <0xdec05eba@gmail.com> Date: Sat, 9 Jun 2018 20:40:03 +0200 Subject: asdsa --- src/DirectConnection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DirectConnection.cpp b/src/DirectConnection.cpp index 4c14045..b89d35f 100644 --- a/src/DirectConnection.cpp +++ b/src/DirectConnection.cpp @@ -85,7 +85,7 @@ namespace sibs void DirectConnections::connect(const Ipv4 &address, bool rendezvous, bool reuseAddr, PubSubConnectCallback connectCallbackFunc, PubSubReceiveDataCallback receiveDataCallbackFunc, bool bind) { - std::thread([this, address, rendezvous, reuseAddr, connectCallbackFunc, receiveDataCallbackFunc]() + std::thread([this, address, rendezvous, reuseAddr, connectCallbackFunc, receiveDataCallbackFunc, bind]() { std::shared_ptr peer = std::make_shared(); UDTSOCKET socket; -- cgit v1.2.3