aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <0xdec05eba@gmail.com>2018-06-09 20:40:03 +0200
committerdec05eba <0xdec05eba@gmail.com>2018-06-09 20:40:09 +0200
commit3dce87e6dd37bdd6144937b5c15544c992953504 (patch)
treec156653428ddc4bf545d918ddce32dbb9b6e7aec /src
parent69349f6bcf1a447288c04bca0b07de4ec80bb6a5 (diff)
asdsa
Diffstat (limited to 'src')
-rw-r--r--src/DirectConnection.cpp2
1 files changed, 1 insertions, 1 deletions
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<DirectConnectionPeer> peer = std::make_shared<DirectConnectionPeer>();
UDTSOCKET socket;