From 67afd7e3150d45e5b0201cdce571ca0f4c64e191 Mon Sep 17 00:00:00 2001 From: Eric Niebler Date: Thu, 7 May 2009 17:47:08 +0000 Subject: [PATCH] eliminate noisy warning on msvc, fixes #2993 [SVN r52837] --- 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