diff options
Diffstat (limited to '3rdparty/asio/include/asio/ssl/detail/handshake_op.hpp')
-rw-r--r-- | 3rdparty/asio/include/asio/ssl/detail/handshake_op.hpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/3rdparty/asio/include/asio/ssl/detail/handshake_op.hpp b/3rdparty/asio/include/asio/ssl/detail/handshake_op.hpp index b6848ea62e5..74b624fde81 100644 --- a/3rdparty/asio/include/asio/ssl/detail/handshake_op.hpp +++ b/3rdparty/asio/include/asio/ssl/detail/handshake_op.hpp @@ -2,7 +2,7 @@ // ssl/detail/handshake_op.hpp // ~~~~~~~~~~~~~~~~~~~~~~~~~~~ // -// 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) @@ -28,6 +28,11 @@ namespace detail { class handshake_op { public: + static ASIO_CONSTEXPR const char* tracking_name() + { + return "ssl::stream<>::async_handshake"; + } + handshake_op(stream_base::handshake_type type) : type_(type) { @@ -46,7 +51,7 @@ public: const asio::error_code& ec, const std::size_t&) const { - handler(ec); + ASIO_MOVE_OR_LVALUE(Handler)(handler)(ec); } private: |