From 664ab48b7abe73ece0dd4079cbd04cb9f4a3867d Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 9 Jun 2018 20:40:03 +0200 Subject: asdsa --- src/DirectConnection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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