Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r69245 - trunk/boost/smart_ptr
From: pdimov_at_[hidden]
Date: 2011-02-24 15:48:18


Author: pdimov
Date: 2011-02-24 15:48:17 EST (Thu, 24 Feb 2011)
New Revision: 69245
URL: http://svn.boost.org/trac/boost/changeset/69245

Log:
Warning 4284 is obsolete. Refs #4433.
Text files modified:
   trunk/boost/smart_ptr/intrusive_ptr.hpp | 9 ---------
   trunk/boost/smart_ptr/shared_ptr.hpp | 9 ---------
   2 files changed, 0 insertions(+), 18 deletions(-)

Modified: trunk/boost/smart_ptr/intrusive_ptr.hpp
==============================================================================
--- trunk/boost/smart_ptr/intrusive_ptr.hpp (original)
+++ trunk/boost/smart_ptr/intrusive_ptr.hpp 2011-02-24 15:48:17 EST (Thu, 24 Feb 2011)
@@ -15,11 +15,6 @@
 
 #include <boost/config.hpp>
 
-#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 <boost/assert.hpp>
 #include <boost/detail/workaround.hpp>
 #include <boost/smart_ptr/detail/sp_convertible.hpp>
@@ -292,8 +287,4 @@
 
 } // namespace boost
 
-#ifdef BOOST_MSVC
-# pragma warning(pop)
-#endif
-
 #endif // #ifndef BOOST_SMART_PTR_INTRUSIVE_PTR_HPP_INCLUDED

Modified: trunk/boost/smart_ptr/shared_ptr.hpp
==============================================================================
--- trunk/boost/smart_ptr/shared_ptr.hpp (original)
+++ trunk/boost/smart_ptr/shared_ptr.hpp 2011-02-24 15:48:17 EST (Thu, 24 Feb 2011)
@@ -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 @@
 
 } // 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


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk