Skip to content

Commit 0d95765

Browse files
authored
Merge pull request #290 from ashtum/suppress-unused-variable-warning
Suppressed unused variable warning in fiber_fcontext.hpp
2 parents 1fd62ab + 618d7e0 commit 0d95765

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/boost/context/fiber_fcontext.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,7 @@ class fiber {
387387
fiber resume_with( Fn && fn) && {
388388
BOOST_ASSERT( nullptr != fctx_);
389389
detail::manage_exception_state exstate;
390+
boost::ignore_unused(exstate);
390391
auto p = std::forward< Fn >( fn);
391392
return { detail::ontop_fcontext(
392393
#if defined(BOOST_NO_CXX14_STD_EXCHANGE)

0 commit comments

Comments
 (0)