From 53d5d086ea55d9706a5799edcc58b16f96b3564f Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Thu, 24 Feb 2011 20:48:17 +0000 Subject: [PATCH] Warning 4284 is obsolete. Refs #4433. [SVN r69245] --- 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 3f1c1d3..66ab48a 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 { @@ -731,10 +726,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