From c5e1280b7734dd09ba43400aa5edb4eb672b5bc1 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 24 Sep 2024 18:09:33 +0300 Subject: [PATCH] Remove __BORLANDC__ workarounds --- include/boost/smart_ptr/detail/shared_count.hpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/include/boost/smart_ptr/detail/shared_count.hpp b/include/boost/smart_ptr/detail/shared_count.hpp index c6fe1bb..924dbee 100644 --- a/include/boost/smart_ptr/detail/shared_count.hpp +++ b/include/boost/smart_ptr/detail/shared_count.hpp @@ -18,10 +18,6 @@ // http://www.boost.org/LICENSE_1_0.txt) // -#if defined(__BORLANDC__) && !defined(__clang__) -# pragma warn -8027 // Functions containing try are not expanded inline -#endif - #include #include #include @@ -700,8 +696,4 @@ inline bool shared_count::operator<( weak_count const & r ) const BOOST_SP_NOEXC #pragma GCC diagnostic pop #endif -#if defined(__BORLANDC__) && !defined(__clang__) -# pragma warn .8027 // Functions containing try are not expanded inline -#endif - #endif // #ifndef BOOST_SMART_PTR_DETAIL_SHARED_COUNT_HPP_INCLUDED