Ticket #3350: w4512_struct_iterator.diff

File w4512_struct_iterator.diff, 651 bytes (added by Paul A. Bristow, 13 years ago)
Line 
1+++ I:/boost_trunk/boost/fusion/adapted/struct/struct_iterator.hpp Tue Aug 18 12:32:27 2009
2@@ -8,6 +8,13 @@
3 #if !defined(FUSION_STRUCT_ITERATOR_APRIL_2_2007_1008AM)
4 #define FUSION_STRUCT_ITERATOR_APRIL_2_2007_1008AM
5
6+
7+#if defined (BOOST_MSVC)
8+# pragma warning(push)
9+# pragma warning (disable: 4512) // assignment operator could not be generated.
10+#endif
11+
12+
13 #include <boost/fusion/iterator/iterator_facade.hpp>
14 #include <boost/fusion/adapted/struct/extension.hpp>
15 #include <boost/type_traits/is_const.hpp>
16@@ -98,6 +105,11 @@
17 };
18 }}
19
20+
21+#if defined (BOOST_MSVC)
22+# pragma warning(pop)
23 #endif
24
25+#endif
26
27+