forked from boostorg/system
Mark throw_exception_from_error as noinline
This commit is contained in:
1 parent
b9c26b9fa0
commit
9c6a09f41d
1 file changed
+1
-1
@@ -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 ) );
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user