summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/asio/include/asio/ssl/detail/engine.hpp
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/asio/include/asio/ssl/detail/engine.hpp')
-rw-r--r--3rdparty/asio/include/asio/ssl/detail/engine.hpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/3rdparty/asio/include/asio/ssl/detail/engine.hpp b/3rdparty/asio/include/asio/ssl/detail/engine.hpp
index c9ea33b1bb9..40799330b73 100644
--- a/3rdparty/asio/include/asio/ssl/detail/engine.hpp
+++ b/3rdparty/asio/include/asio/ssl/detail/engine.hpp
@@ -2,7 +2,7 @@
// ssl/detail/engine.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)
@@ -58,9 +58,19 @@ public:
// Construct a new engine for the specified context.
ASIO_DECL explicit engine(SSL_CTX* context);
+#if defined(ASIO_HAS_MOVE)
+ // Move construct from another engine.
+ ASIO_DECL engine(engine&& other) ASIO_NOEXCEPT;
+#endif // defined(ASIO_HAS_MOVE)
+
// Destructor.
ASIO_DECL ~engine();
+#if defined(ASIO_HAS_MOVE)
+ // Move assign from another engine.
+ ASIO_DECL engine& operator=(engine&& other) ASIO_NOEXCEPT;
+#endif // defined(ASIO_HAS_MOVE)
+
// Get the underlying implementation in the native type.
ASIO_DECL SSL* native_handle();