From 1086aff971f977d1eacdfcb1698fb448e63970b0 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 22 Mar 2011 23:23:44 +0000 Subject: [PATCH] Merge [69245] to release. Fixes #4433. [SVN r70434] --- include/boost/smart_ptr/intrusive_ptr.hpp | 9 --------- include/boost/smart_ptr/shared_ptr.hpp | 9 --------- 2 files changed, 18 deletions(-) diff --git a/include/boost/smart_ptr/intrusive_ptr.hpp b/include/boost/smart_ptr/intrusive_ptr.hpp index e72eb21..2fa4670 100644 --- a/include/boost/smart_ptr/intrusive_ptr.hpp +++ b/include/boost/smart_ptr/intrusive_ptr.hpp @@ -15,11 +15,6 @@ #include -#ifdef BOOST_MSVC // moved here to work around VC++ compiler crash -# pragma warning(push) -# pragma warning(disable:4284) // odd return type for operator-> -#endif - #include #include #include @@ -292,8 +287,4 @@ template std::basic_ostream & operator<< (std:: } // namespace boost -#ifdef BOOST_MSVC -# pragma warning(pop) -#endif - #endif // #ifndef BOOST_SMART_PTR_INTRUSIVE_PTR_HPP_INCLUDED diff --git a/include/boost/smart_ptr/shared_ptr.hpp b/include/boost/smart_ptr/shared_ptr.hpp index 609cce9..27e6ee4 100644 --- a/include/boost/smart_ptr/shared_ptr.hpp +++ b/include/boost/smart_ptr/shared_ptr.hpp @@ -50,11 +50,6 @@ #endif #endif -#ifdef BOOST_MSVC // moved here to work around VC++ compiler crash -# pragma warning(push) -# pragma warning(disable:4284) // odd return type for operator-> -#endif - namespace boost { @@ -692,10 +687,6 @@ template inline bool atomic_compare_exchange_explicit( shared_ptr * } // namespace boost -#ifdef BOOST_MSVC -# pragma warning(pop) -#endif - #endif // #if defined(BOOST_NO_MEMBER_TEMPLATES) && !defined(BOOST_MSVC6_MEMBER_TEMPLATES) #endif // #ifndef BOOST_SMART_PTR_SHARED_PTR_HPP_INCLUDED