]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/context/continuation_ucontext.hpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / boost / context / continuation_ucontext.hpp
index 78889fd5fc6a40cbf8ce4df56cc1d7a0da22c844..951e542983acbfb806b1dd3f7630546aa49f7d03 100644 (file)
@@ -210,19 +210,10 @@ struct BOOST_CONTEXT_DECL activation_record_initializer {
 
 struct forced_unwind {
     activation_record   *   from{ nullptr };
-#ifndef BOOST_ASSERT_IS_VOID
-    bool                    caught{ false };
-#endif
 
     forced_unwind( activation_record * from_) noexcept :
         from{ from_ } {
     }
-
-#ifndef BOOST_ASSERT_IS_VOID
-    ~forced_unwind() {
-        BOOST_ASSERT( caught);
-    }
-#endif
 };
 
 template< typename Ctx, typename StackAlloc, typename Fn >
@@ -268,9 +259,6 @@ public:
 #endif  
         } catch ( forced_unwind const& ex) {
             c = Ctx{ ex.from };
-#ifndef BOOST_ASSERT_IS_VOID
-            const_cast< forced_unwind & >( ex).caught = true;
-#endif
         }
         // this context has finished its task
                from = nullptr;