From 4acef7bb5f48eaf7dbe3bf4925dcd64c5cf4b7cf Mon Sep 17 00:00:00 2001 From: Emil Dotchevski Date: Wed, 15 Mar 2017 12:33:33 -0700 Subject: [PATCH] Removed BOOST_EXCEPTION_ENABLE_EXCEPTION_INFO --- include/boost/exception/exception.hpp | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/include/boost/exception/exception.hpp b/include/boost/exception/exception.hpp index b34b586..4087c28 100644 --- a/include/boost/exception/exception.hpp +++ b/include/boost/exception/exception.hpp @@ -378,8 +378,6 @@ boost //////////////////////////////////////////////////////////////////////// -#ifdef BOOST_EXCEPTION_ENABLE_EXCEPTION_INFO - #if defined(__GNUC__) # if (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4) # pragma GCC visibility push (default) @@ -438,22 +436,6 @@ boost # if (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4) # pragma GCC visibility pop # endif -#endif - - namespace - exception_detail - { - typedef exception_info enable_error_info_base; - } - -#else - - namespace - exception_detail - { - typedef exception enable_error_info_base; - } - #endif namespace @@ -474,7 +456,7 @@ boost struct exception_injector: T, - exception_detail::enable_error_info_base + exception_info { explicit exception_injector( T const & x ):