diff --git a/include/boost/exception/exception.hpp b/include/boost/exception/exception.hpp index 6e9d405..adaac68 100644 --- a/include/boost/exception/exception.hpp +++ b/include/boost/exception/exception.hpp @@ -189,11 +189,6 @@ boost E const & set_info( E const &, throw_line const & ); } -#if defined(__GNUC__) -# if (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4) -# pragma GCC visibility push (default) -# endif -#endif class exception { @@ -255,11 +250,6 @@ boost mutable char const * throw_file_; mutable int throw_line_; }; -#if defined(__GNUC__) -# if (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4) -# pragma GCC visibility pop -# endif -#endif inline exception:: @@ -344,7 +334,7 @@ boost struct enable_error_info_return_type { - typedef typename enable_error_info_helper(0)))>::type type; + typedef typename enable_error_info_helper::type type; }; }