From 9c6a09f41d337e1373c0e95364155f61f610634a Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Thu, 3 Feb 2022 09:37:59 +0200 Subject: [PATCH] Mark throw_exception_from_error as noinline --- include/boost/system/result.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/system/result.hpp b/include/boost/system/result.hpp index 844fe20..4e809b1 100644 --- a/include/boost/system/result.hpp +++ b/include/boost/system/result.hpp @@ -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 ) ); }