Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62030 - trunk/boost/utility
From: nielsdekker_at_[hidden]
Date: 2010-05-16 07:08:01


Author: niels_dekker
Date: 2010-05-16 07:08:00 EDT (Sun, 16 May 2010)
New Revision: 62030
URL: http://svn.boost.org/trac/boost/changeset/62030

Log:
Locally disabled a trivial MSVC warning in value_init.hpp (C4512, "assignment operator could not be generated")
Text files modified:
   trunk/boost/utility/value_init.hpp | 3 +++
   1 files changed, 3 insertions(+), 0 deletions(-)

Modified: trunk/boost/utility/value_init.hpp
==============================================================================
--- trunk/boost/utility/value_init.hpp (original)
+++ trunk/boost/utility/value_init.hpp 2010-05-16 07:08:00 EDT (Sun, 16 May 2010)
@@ -35,6 +35,9 @@
 // It is safe to ignore the following warning from MSVC 7.1 or higher:
 // "warning C4351: new behavior: elements of array will be default initialized"
 #pragma warning(disable: 4351)
+// It is safe to ignore the following MSVC warning, which may pop up when T is
+// a const type: "warning C4512: assignment operator could not be generated".
+#pragma warning(disable: 4512)
 #endif
 #endif
 


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