From 51f9adbfa1f4863caea798e19049b2cb4ab773d9 Mon Sep 17 00:00:00 2001 From: Eric Niebler Date: Sat, 16 May 2009 18:15:17 +0000 Subject: [PATCH] Merged revisions 52837 via svnmerge from https://svn.boost.org/svn/boost/trunk ........ r52837 | eric_niebler | 2009-05-07 10:47:08 -0700 (Thu, 07 May 2009) | 1 line eliminate noisy warning on msvc ........ [SVN r53054] --- include/boost/utility/addressof.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/boost/utility/addressof.hpp b/include/boost/utility/addressof.hpp index ac42a51..95cd92f 100644 --- a/include/boost/utility/addressof.hpp +++ b/include/boost/utility/addressof.hpp @@ -27,6 +27,9 @@ template struct addr_impl_ref inline addr_impl_ref( T & v ): v_( v ) {} inline operator T& () const { return v_; } + +private: + addr_impl_ref & operator=(const addr_impl_ref &); }; template struct addressof_impl