diff options
author | B Stack <bgstack15@gmail.com> | 2019-05-12 16:34:13 -0400 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2019-05-12 16:34:13 -0400 |
commit | f43972d665c95b2148636c86a5b648e719901101 (patch) | |
tree | b873b15f50a981aacf8bb49fd646bfded2e7a73b /zen/socket.h | |
parent | Merge branch '10.11' into 'master' (diff) | |
download | FreeFileSync-f43972d665c95b2148636c86a5b648e719901101.tar.gz FreeFileSync-f43972d665c95b2148636c86a5b648e719901101.tar.bz2 FreeFileSync-f43972d665c95b2148636c86a5b648e719901101.zip |
10.12
Diffstat (limited to 'zen/socket.h')
-rw-r--r-- | zen/socket.h | 2 |
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) |