Boost logo

Boost-Commit :

From: joel_at_[hidden]
Date: 2007-08-09 21:45:05


Author: djowel
Date: 2007-08-09 21:45:05 EDT (Thu, 09 Aug 2007)
New Revision: 38559
URL: http://svn.boost.org/trac/boost/changeset/38559

Log:
push/pop pragma warning
Text files modified:
   trunk/boost/fusion/sequence/container/map/detail/map_lookup.hpp | 8 +++++++-
   trunk/boost/fusion/sequence/container/set/detail/set_lookup.hpp | 8 +++++++-
   2 files changed, 14 insertions(+), 2 deletions(-)

Modified: trunk/boost/fusion/sequence/container/map/detail/map_lookup.hpp
==============================================================================
--- trunk/boost/fusion/sequence/container/map/detail/map_lookup.hpp (original)
+++ trunk/boost/fusion/sequence/container/map/detail/map_lookup.hpp 2007-08-09 21:45:05 EDT (Thu, 09 Aug 2007)
@@ -1,7 +1,7 @@
 /*=============================================================================
     Copyright (c) 2001-2006 Joel de Guzman
 
- Distributed under the Boost Software License, Version 1.0. (See accompanying
+ Distributed under the Boost Software License, Version 1.0. (See accompanying
     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 ==============================================================================*/
 #ifndef BOOST_PP_IS_ITERATING
@@ -15,6 +15,7 @@
 #include <boost/preprocessor/repetition/enum_binary_params.hpp>
 
 #if defined(BOOST_MSVC) && (BOOST_MSVC == 1310)
+#pragma warning (push)
 #pragma warning(disable: 4348) // redefinition of default parameter
 #endif
 
@@ -119,5 +120,10 @@
     }
 
 #undef N
+
+#if defined(BOOST_MSVC) && (BOOST_MSVC == 1310)
+#pragma warning (pop)
+#endif
+
 #endif // defined(BOOST_PP_IS_ITERATING)
 

Modified: trunk/boost/fusion/sequence/container/set/detail/set_lookup.hpp
==============================================================================
--- trunk/boost/fusion/sequence/container/set/detail/set_lookup.hpp (original)
+++ trunk/boost/fusion/sequence/container/set/detail/set_lookup.hpp 2007-08-09 21:45:05 EDT (Thu, 09 Aug 2007)
@@ -1,7 +1,7 @@
 /*=============================================================================
     Copyright (c) 2001-2006 Joel de Guzman
 
- Distributed under the Boost Software License, Version 1.0. (See accompanying
+ Distributed under the Boost Software License, Version 1.0. (See accompanying
     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 ==============================================================================*/
 #ifndef BOOST_PP_IS_ITERATING
@@ -15,6 +15,7 @@
 #include <boost/preprocessor/repetition/enum_binary_params.hpp>
 
 #if defined(BOOST_MSVC) && (BOOST_MSVC == 1310)
+#pragma warning (push)
 #pragma warning(disable: 4348) // redefinition of default parameter
 #endif
 
@@ -119,5 +120,10 @@
     }
 
 #undef N
+
+#if defined(BOOST_MSVC) && (BOOST_MSVC == 1310)
+#pragma warning (pop)
+#endif
+
 #endif // defined(BOOST_PP_IS_ITERATING)
 


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