Add/use exception_detail::enable_both

This commit is contained in:
Peter Dimov committed 2018-09-27 07:39:18 +03:00
1 parent a732dfad3c
commit 56dd1c4111
2 files changed
+13 -1

No files matched your search

+1 -1
View File
@@ -67,7 +67,7 @@ template<class E> BOOST_NORETURN inline void throw_exception( E const & e )
throw_exception_assert_compatibility(e);
#ifndef BOOST_EXCEPTION_DISABLE
throw enable_current_exception(enable_error_info(e));
throw exception_detail::enable_both( e );
#else
throw e;
#endif