diff --git a/include/boost/smart_ptr/detail/shared_count.hpp b/include/boost/smart_ptr/detail/shared_count.hpp index e34a05a..69cc915 100644 --- a/include/boost/smart_ptr/detail/shared_count.hpp +++ b/include/boost/smart_ptr/detail/shared_count.hpp @@ -661,7 +661,7 @@ inline shared_count::shared_count( weak_count const & r, sp_nothrow_tag ) BOOST_ #pragma GCC diagnostic pop #endif -#ifdef BOOST_BORLANDC +#if defined(__BORLANDC__) && !defined(__clang__) # pragma warn .8027 // Functions containing try are not expanded inline #endif