forked from boostorg/system
Mark throw_exception_from_error as noinline
This commit is contained in:
@ -26,7 +26,7 @@ namespace system
|
|||||||
|
|
||||||
// throw_exception_from_error
|
// 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 ) );
|
boost::throw_exception( system_error( e ) );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user