aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-06-09 20:40:03 +0200
committerdec05eba <dec05eba@protonmail.com>2020-08-18 22:56:48 +0200
commit664ab48b7abe73ece0dd4079cbd04cb9f4a3867d (patch)
treebc9cffc63ae42efd70bb60dd5d3187a8ae90dc6e /src
parent68a95ec4ee9ff52e965d408d93069db4667f5604 (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;