diff options
Diffstat (limited to 'boost/serialization/detail/shared_count_132.hpp')
-rw-r--r-- | boost/serialization/detail/shared_count_132.hpp | 26 |
1 files changed, 4 insertions, 22 deletions
diff --git a/boost/serialization/detail/shared_count_132.hpp b/boost/serialization/detail/shared_count_132.hpp index a63e48849b..a5872557cf 100644 --- a/boost/serialization/detail/shared_count_132.hpp +++ b/boost/serialization/detail/shared_count_132.hpp @@ -45,11 +45,6 @@ namespace std{ } // namespace std #endif -#ifdef __BORLANDC__ -# pragma warn -8026 // Functions with excep. spec. are not expanded inline -# pragma warn -8027 // Functions containing try are not expanded inline -#endif - namespace boost_132 { // Debug hooks @@ -71,10 +66,6 @@ void sp_array_destructor_hook(void * px); // Hence, the temporary #pragma option -pc below. The version // check is deliberately conservative. -#if defined(__BORLANDC__) && __BORLANDC__ == 0x551 -# pragma option push -pc -#endif - class bad_weak_ptr: public std::exception { public: @@ -85,10 +76,6 @@ public: } }; -#if defined(__BORLANDC__) && __BORLANDC__ == 0x551 -# pragma option pop -#endif - namespace detail{ class sp_counted_base @@ -201,12 +188,12 @@ public: #if defined(BOOST_SP_ENABLE_DEBUG_HOOKS) -template<class T> void cbi_call_constructor_hook(sp_counted_base * pn, T * px, boost::checked_deleter< T > const &, int) +template<class T> void cbi_call_constructor_hook(sp_counted_base * pn, T * px, boost::checked_deleter< T > const &) { boost::sp_scalar_constructor_hook(px, sizeof(T), pn); } -template<class T> void cbi_call_constructor_hook(sp_counted_base *, T * px, boost::checked_array_deleter< T > const &, int) +template<class T> void cbi_call_constructor_hook(sp_counted_base *, T * px, boost::checked_array_deleter< T > const &) { boost::sp_array_constructor_hook(px); } @@ -215,12 +202,12 @@ template<class P, class D> void cbi_call_constructor_hook(sp_counted_base *, P c { } -template<class T> void cbi_call_destructor_hook(sp_counted_base * pn, T * px, boost::checked_deleter< T > const &, int) +template<class T> void cbi_call_destructor_hook(sp_counted_base * pn, T * px, boost::checked_deleter< T > const &) { boost::sp_scalar_destructor_hook(px, sizeof(T), pn); } -template<class T> void cbi_call_destructor_hook(sp_counted_base *, T * px, boost::checked_array_deleter< T > const &, int) +template<class T> void cbi_call_destructor_hook(sp_counted_base *, T * px, boost::checked_array_deleter< T > const &) { boost::sp_array_destructor_hook(px); } @@ -561,9 +548,4 @@ inline shared_count::shared_count(weak_count const & r): pi_(r.pi_) BOOST_SERIALIZATION_ASSUME_ABSTRACT(boost_132::detail::sp_counted_base) -#ifdef __BORLANDC__ -# pragma warn .8027 // Functions containing try are not expanded inline -# pragma warn .8026 // Functions with excep. spec. are not expanded inline -#endif - #endif // #ifndef BOOST_DETAIL_SHARED_COUNT_HPP_INCLUDED |