Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52837 - trunk/boost/utility
From: eric_at_[hidden]
Date: 2009-05-07 13:47:09


Author: eric_niebler
Date: 2009-05-07 13:47:08 EDT (Thu, 07 May 2009)
New Revision: 52837
URL: http://svn.boost.org/trac/boost/changeset/52837

Log:
eliminate noisy warning on msvc, fixes #2993
Text files modified:
   trunk/boost/utility/addressof.hpp | 3 +++
   1 files changed, 3 insertions(+), 0 deletions(-)

Modified: trunk/boost/utility/addressof.hpp
==============================================================================
--- trunk/boost/utility/addressof.hpp (original)
+++ trunk/boost/utility/addressof.hpp 2009-05-07 13:47:08 EDT (Thu, 07 May 2009)
@@ -27,6 +27,9 @@
 
     inline addr_impl_ref( T & v ): v_( v ) {}
     inline operator T& () const { return v_; }
+
+private:
+ addr_impl_ref & operator=(const addr_impl_ref &);
 };
 
 template<class T> struct addressof_impl


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