]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/asio/ts/netfwd.hpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / boost / asio / ts / netfwd.hpp
index f1921b62dbec913d6854998b76daf91b6040916a..4aac37479e82d26b4feb25540061277eb4c2abb6 100644 (file)
@@ -2,7 +2,7 @@
 // ts/netfwd.hpp
 // ~~~~~~~~~~~~~
 //
-// Copyright (c) 2003-2020 Christopher M. Kohlhoff (chris at kohlhoff dot com)
+// Copyright (c) 2003-2022 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)
@@ -46,7 +46,7 @@ class executor_binder;
 #if !defined(BOOST_ASIO_EXECUTOR_WORK_GUARD_DECL)
 #define BOOST_ASIO_EXECUTOR_WORK_GUARD_DECL
 
-template <typename Executor, typename = void>
+template <typename Executor, typename = void, typename = void>
 class executor_work_guard;
 
 #endif // !defined(BOOST_ASIO_EXECUTOR_WORK_GUARD_DECL)
@@ -91,15 +91,7 @@ struct prefer_only;
 
 } // namespace execution
 
-typedef execution::any_executor<
-    execution::context_as_t<execution_context&>,
-    execution::blocking_t::never_t,
-    execution::prefer_only<execution::blocking_t::possibly_t>,
-    execution::prefer_only<execution::outstanding_work_t::tracked_t>,
-    execution::prefer_only<execution::outstanding_work_t::untracked_t>,
-    execution::prefer_only<execution::relationship_t::fork_t>,
-    execution::prefer_only<execution::relationship_t::continuation_t>
-  > any_io_executor;
+class any_io_executor;
 
 #endif // defined(BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT)