diff options
| author | Dennis Brentjes <d.brentjes@gmail.com> | 2018-02-04 13:05:31 +0100 |
|---|---|---|
| committer | Dennis Brentjes <d.brentjes@gmail.com> | 2018-02-04 13:05:31 +0100 |
| commit | 1ca1acc4ff5fc47e5171c759ee87b9ed9ccf1ce2 (patch) | |
| tree | 4b3eb4ff97d71536f0114bae2bd5c70e6e3deff2 /libcmix-network | |
| parent | 21474893efe0ab38461c3d08727c7c778caa9323 (diff) | |
| download | cmix-1ca1acc4ff5fc47e5171c759ee87b9ed9ccf1ce2.tar.gz cmix-1ca1acc4ff5fc47e5171c759ee87b9ed9ccf1ce2.tar.bz2 cmix-1ca1acc4ff5fc47e5171c759ee87b9ed9ccf1ce2.zip | |
Squelches some warnings.
Diffstat (limited to 'libcmix-network')
| -rw-r--r-- | libcmix-network/accept.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcmix-network/accept.cpp b/libcmix-network/accept.cpp index 9806a67..e3c50b0 100644 --- a/libcmix-network/accept.cpp +++ b/libcmix-network/accept.cpp @@ -36,7 +36,7 @@ void accept_connection(tcp::acceptor& acceptor, std::shared_ptr<ssl::context> ct { if(!bool(ec)) { - socket->async_handshake(boost::asio::ssl::stream_base::server, [&acceptor, ctx, socket, f](boost::system::error_code const& ec2) { + socket->async_handshake(boost::asio::ssl::stream_base::server, [ctx, socket, f](boost::system::error_code const& ec2) { if(!bool(ec2)) { f(std::unique_ptr<ssl::stream<tcp::socket>>(socket), ctx); } else { |
