]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/coroutine2/detail/wrap.hpp
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / boost / boost / coroutine2 / detail / wrap.hpp
index cd5633848436d796ced2ea268c15c28b7d2b7cce..87809f01b95381310f11c87e48ff5a20aee5a59f 100644 (file)
@@ -11,7 +11,7 @@
 
 #include <boost/config.hpp>
 #include <boost/context/detail/invoke.hpp>
-#include <boost/context/continuation.hpp>
+#include <boost/context/fiber.hpp>
 
 #include <boost/coroutine2/detail/config.hpp>
 
@@ -41,12 +41,12 @@ public:
     wrapper( wrapper && other) = default;
     wrapper & operator=( wrapper && other) = default;
 
-    boost::context::continuation
-    operator()( boost::context::continuation && c) {
+    boost::context::fiber
+    operator()( boost::context::fiber && c) {
         return boost::context::detail::invoke(
                 std::move( fn1_),
                 fn2_,
-                std::forward< boost::context::continuation >( c) );
+                std::forward< boost::context::fiber >( c) );
     }
 };