Merge pull request #94 from apolukhin/better_noreturn

Fix for undefined BOOST_NORETURN
This commit is contained in:
jzmaddock authored and GitHub committed 2016-09-11 11:59:53 +01:00
commit a5f23185bd
1 file changed
+5 -3
+5 -3
View File
@@ -628,12 +628,14 @@ namespace std{ using ::type_info; }
# if __has_cpp_attribute(noreturn)
# define BOOST_NORETURN [[noreturn]]
# endif
# else
# define BOOST_NO_NORETURN
# define BOOST_NORETURN
# endif
#endif
#if !defined(BOOST_NORETURN)
# define BOOST_NO_NORETURN
# define BOOST_NORETURN
#endif
// Branch prediction hints
// These macros are intended to wrap conditional expressions that yield true or false
//