diff --git a/include/boost/detail/shared_count.hpp b/include/boost/detail/shared_count.hpp index 133e54e..49aca85 100644 --- a/include/boost/detail/shared_count.hpp +++ b/include/boost/detail/shared_count.hpp @@ -18,6 +18,10 @@ // http://www.boost.org/LICENSE_1_0.txt) // +#ifdef __BORLANDC__ +# pragma warn -8027 // Functions containing try are not expanded inline +#endif + #include #include #include @@ -30,10 +34,6 @@ #include // std::bad_alloc #include // std::type_info in get_deleter -#ifdef __BORLANDC__ -# pragma warn -8027 // Functions containing try are not expanded inline -#endif - namespace boost {