Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r76219 - trunk/boost/smart_ptr
From: pdimov_at_[hidden]
Date: 2011-12-29 17:27:38


Author: pdimov
Date: 2011-12-29 17:27:37 EST (Thu, 29 Dec 2011)
New Revision: 76219
URL: http://svn.boost.org/trac/boost/changeset/76219

Log:
Warning 4284 is obsolete. Refs #6332. See also #4433.
Text files modified:
   trunk/boost/smart_ptr/weak_ptr.hpp | 9 ---------
   1 files changed, 0 insertions(+), 9 deletions(-)

Modified: trunk/boost/smart_ptr/weak_ptr.hpp
==============================================================================
--- trunk/boost/smart_ptr/weak_ptr.hpp (original)
+++ trunk/boost/smart_ptr/weak_ptr.hpp 2011-12-29 17:27:37 EST (Thu, 29 Dec 2011)
@@ -17,11 +17,6 @@
 #include <boost/smart_ptr/detail/shared_count.hpp>
 #include <boost/smart_ptr/shared_ptr.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
-
 namespace boost
 {
 
@@ -245,8 +240,4 @@
 
 } // namespace boost
 
-#ifdef BOOST_MSVC
-# pragma warning(pop)
-#endif
-
 #endif // #ifndef BOOST_SMART_PTR_WEAK_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