From cef5372547021b5d4764fa4a23b426cf0fa2504f Mon Sep 17 00:00:00 2001 From: Ruben Perez Date: Fri, 24 Jan 2025 15:55:59 +0100 Subject: [PATCH] Suppressed unused variable warning in fiber_fcontext.hpp close #284 --- include/boost/context/fiber_fcontext.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/boost/context/fiber_fcontext.hpp b/include/boost/context/fiber_fcontext.hpp index 93ee3858..7e0538a6 100644 --- a/include/boost/context/fiber_fcontext.hpp +++ b/include/boost/context/fiber_fcontext.hpp @@ -23,6 +23,7 @@ #include #include #include +#include #if defined(BOOST_NO_CXX14_STD_EXCHANGE) #include @@ -372,6 +373,7 @@ class fiber { fiber resume() && { BOOST_ASSERT( nullptr != fctx_); detail::manage_exception_state exstate; + boost::ignore_unused(exstate); return { detail::jump_fcontext( #if defined(BOOST_NO_CXX14_STD_EXCHANGE) detail::exchange( fctx_, nullptr),