|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r85100 - trunk/boost
From: joaquin_at_[hidden]
Date: 2013-07-22 03:04:09
Author: joaquin
Date: 2013-07-22 03:04:09 EDT (Mon, 22 Jul 2013)
New Revision: 85100
URL: http://svn.boost.org/trac/boost/changeset/85100
Log:
suppressed spurious warning
Text files modified:
trunk/boost/multi_index_container.hpp | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
Modified: trunk/boost/multi_index_container.hpp
==============================================================================
--- trunk/boost/multi_index_container.hpp Mon Jul 22 02:52:16 2013 (r85099)
+++ trunk/boost/multi_index_container.hpp 2013-07-22 03:04:09 EDT (Mon, 22 Jul 2013) (r85100)
@@ -76,6 +76,11 @@
namespace multi_index{
+#if BOOST_WORKAROUND(BOOST_MSVC,BOOST_TESTED_AT(1500))
+#pragma warning(push)
+#pragma warning(disable:4522) /* spurious warning on multiple operator=()'s */
+#endif
+
template<typename Value,typename IndexSpecifierList,typename Allocator>
class multi_index_container:
private ::boost::base_from_member<
@@ -1031,6 +1036,10 @@
#endif
};
+#if BOOST_WORKAROUND(BOOST_MSVC,BOOST_TESTED_AT(1500))
+#pragma warning(pop) /* C4522 */
+#endif
+
/* retrieval of indices by number */
template<typename MultiIndexContainer,int N>
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