From 2c29f1e5a9d2360bdb89155eeda5641fbfb21e2e Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Thu, 29 Dec 2011 22:27:37 +0000 Subject: [PATCH] Warning 4284 is obsolete. Refs #6332. See also #4433. [SVN r76219] --- include/boost/smart_ptr/weak_ptr.hpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/include/boost/smart_ptr/weak_ptr.hpp b/include/boost/smart_ptr/weak_ptr.hpp index 7d94254..5391910 100644 --- a/include/boost/smart_ptr/weak_ptr.hpp +++ b/include/boost/smart_ptr/weak_ptr.hpp @@ -17,11 +17,6 @@ #include #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 - namespace boost { @@ -245,8 +240,4 @@ template void swap(weak_ptr & a, weak_ptr & b) } // namespace boost -#ifdef BOOST_MSVC -# pragma warning(pop) -#endif - #endif // #ifndef BOOST_SMART_PTR_WEAK_PTR_HPP_INCLUDED