From 0921b9fd5c776aec7748475c6c10807e0d51bc6d Mon Sep 17 00:00:00 2001 From: Vasily Sviridov Date: Fri, 8 May 2026 02:20:37 +0300 Subject: [PATCH] fix: re-apply BOOST_NOINLINE to manage_exception_state (reverted in #324 merge) --- include/boost/context/fiber_fcontext.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/context/fiber_fcontext.hpp b/include/boost/context/fiber_fcontext.hpp index 2c91b110..543ba6cf 100644 --- a/include/boost/context/fiber_fcontext.hpp +++ b/include/boost/context/fiber_fcontext.hpp @@ -87,10 +87,10 @@ struct __cxa_eh_globals { class manage_exception_state { public: - manage_exception_state() { + BOOST_NOINLINE manage_exception_state() { exception_state_ = *__cxa_get_globals(); } - ~manage_exception_state() { + BOOST_NOINLINE ~manage_exception_state() { *__cxa_get_globals() = exception_state_; } private: