Mark throw_exception_from_error as noinline

This commit is contained in:
Peter Dimov
2022-02-03 09:37:59 +02:00
parent b9c26b9fa0
commit 9c6a09f41d

View File

@ -26,7 +26,7 @@ namespace system
// throw_exception_from_error
BOOST_NORETURN inline void throw_exception_from_error( error_code const & e )
BOOST_NORETURN BOOST_NOINLINE inline void throw_exception_from_error( error_code const & e )
{
boost::throw_exception( system_error( e ) );
}