From 44ec6d2e0ee569202b75b73eea40972595866779 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Mon, 15 Nov 2021 04:15:13 +1100 Subject: 3rdparty: Updated ASIO to version 1.20.0. The doc folder isn't included as it's pretty big. This required include/asio/detail/win_iocp_socket_accept_op.hpp due to mismatched order in the member declarations and initialiser list for the win_iocp_socket_accept_op class. I reversed the declaration order so it matches win_iocp_socket_move_accept_op. --- 3rdparty/asio/src/examples/cpp03/ssl/client.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to '3rdparty/asio/src/examples/cpp03/ssl/client.cpp') diff --git a/3rdparty/asio/src/examples/cpp03/ssl/client.cpp b/3rdparty/asio/src/examples/cpp03/ssl/client.cpp index 02a3ce8b3ca..3b0e9fd5c7a 100644 --- a/3rdparty/asio/src/examples/cpp03/ssl/client.cpp +++ b/3rdparty/asio/src/examples/cpp03/ssl/client.cpp @@ -2,7 +2,7 @@ // client.cpp // ~~~~~~~~~~ // -// Copyright (c) 2003-2016 Christopher M. Kohlhoff (chris at kohlhoff dot com) +// Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) @@ -10,7 +10,7 @@ #include #include -#include +#include #include "asio.hpp" #include "asio/ssl.hpp" @@ -26,7 +26,8 @@ public: { socket_.set_verify_mode(asio::ssl::verify_peer); socket_.set_verify_callback( - boost::bind(&client::verify_certificate, this, _1, _2)); + boost::bind(&client::verify_certificate, this, + boost::placeholders::_1, boost::placeholders::_2)); asio::async_connect(socket_.lowest_layer(), endpoints, boost::bind(&client::handle_connect, this, -- cgit v1.2.3