forked from boostorg/throw_exception
Removed BOOST_EXCEPTION_ENABLE_EXCEPTION_INFO
This commit is contained in:
@ -378,8 +378,6 @@ boost
|
|||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifdef BOOST_EXCEPTION_ENABLE_EXCEPTION_INFO
|
|
||||||
|
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__)
|
||||||
# if (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4)
|
# if (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4)
|
||||||
# pragma GCC visibility push (default)
|
# pragma GCC visibility push (default)
|
||||||
@ -438,22 +436,6 @@ boost
|
|||||||
# if (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4)
|
# if (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4)
|
||||||
# pragma GCC visibility pop
|
# pragma GCC visibility pop
|
||||||
# endif
|
# endif
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace
|
|
||||||
exception_detail
|
|
||||||
{
|
|
||||||
typedef exception_info enable_error_info_base;
|
|
||||||
}
|
|
||||||
|
|
||||||
#else
|
|
||||||
|
|
||||||
namespace
|
|
||||||
exception_detail
|
|
||||||
{
|
|
||||||
typedef exception enable_error_info_base;
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
@ -474,7 +456,7 @@ boost
|
|||||||
struct
|
struct
|
||||||
exception_injector:
|
exception_injector:
|
||||||
T,
|
T,
|
||||||
exception_detail::enable_error_info_base
|
exception_info
|
||||||
{
|
{
|
||||||
explicit
|
explicit
|
||||||
exception_injector( T const & x ):
|
exception_injector( T const & x ):
|
||||||
|
Reference in New Issue
Block a user