diff options
Diffstat (limited to '3rdparty/asio/include/asio/ssl/detail/read_op.hpp')
-rw-r--r-- | 3rdparty/asio/include/asio/ssl/detail/read_op.hpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/3rdparty/asio/include/asio/ssl/detail/read_op.hpp b/3rdparty/asio/include/asio/ssl/detail/read_op.hpp index 2195bc892eb..5cb4249556f 100644 --- a/3rdparty/asio/include/asio/ssl/detail/read_op.hpp +++ b/3rdparty/asio/include/asio/ssl/detail/read_op.hpp @@ -2,7 +2,7 @@ // ssl/detail/read_op.hpp // ~~~~~~~~~~~~~~~~~~~~~~ // -// Copyright (c) 2003-2016 Christopher M. Kohlhoff (chris at kohlhoff dot com) +// Copyright (c) 2003-2024 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) @@ -30,6 +30,11 @@ template <typename MutableBufferSequence> class read_op { public: + static constexpr const char* tracking_name() + { + return "ssl::stream<>::async_read_some"; + } + read_op(const MutableBufferSequence& buffers) : buffers_(buffers) { @@ -51,7 +56,7 @@ public: const asio::error_code& ec, const std::size_t& bytes_transferred) const { - handler(ec, bytes_transferred); + static_cast<Handler&&>(handler)(ec, bytes_transferred); } private: |