summaryrefslogtreecommitdiff
path: root/zen/socket.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <shieldwed@outlook.com>2019-05-12 22:44:22 +0000
committerDaniel Wilhelm <shieldwed@outlook.com>2019-05-12 22:44:22 +0000
commit2cb4599782d970f386a67dfd4f4dab0d531d4348 (patch)
treeb873b15f50a981aacf8bb49fd646bfded2e7a73b /zen/socket.h
parentMerge branch '10.11' into 'master' (diff)
parent10.12 (diff)
downloadFreeFileSync-2cb4599782d970f386a67dfd4f4dab0d531d4348.tar.gz
FreeFileSync-2cb4599782d970f386a67dfd4f4dab0d531d4348.tar.bz2
FreeFileSync-2cb4599782d970f386a67dfd4f4dab0d531d4348.zip
Merge branch '10.12' into 'master'10.12
10.12 See merge request opensource-tracking/FreeFileSync!9
Diffstat (limited to 'zen/socket.h')
-rw-r--r--zen/socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/socket.h b/zen/socket.h
index c77a4084..0b4c823d 100644
--- a/zen/socket.h
+++ b/zen/socket.h
@@ -46,7 +46,7 @@ public:
if (!servinfo)
throw SysError(L"getaddrinfo: empty server info");
- auto getConnectedSocket = [&](const auto& /*::addrinfo*/ ai)
+ const auto getConnectedSocket = [](const auto& /*::addrinfo*/ ai)
{
SocketType testSocket = ::socket(ai.ai_family, ai.ai_socktype, ai.ai_protocol);
if (testSocket == invalidSocket)
bgstack15