From f8e8b4bbf564c1d4c3d5572ec865c6d28f21f5bd Mon Sep 17 00:00:00 2001 From: Joel de Guzman Date: Fri, 10 Aug 2007 01:45:05 +0000 Subject: [PATCH] push/pop pragma warning [SVN r38559] --- .../fusion/sequence/container/map/detail/map_lookup.hpp | 8 +++++++- .../fusion/sequence/container/set/detail/set_lookup.hpp | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/include/boost/fusion/sequence/container/map/detail/map_lookup.hpp b/include/boost/fusion/sequence/container/map/detail/map_lookup.hpp index 62d23d8c..aef42c62 100644 --- a/include/boost/fusion/sequence/container/map/detail/map_lookup.hpp +++ b/include/boost/fusion/sequence/container/map/detail/map_lookup.hpp @@ -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 #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) diff --git a/include/boost/fusion/sequence/container/set/detail/set_lookup.hpp b/include/boost/fusion/sequence/container/set/detail/set_lookup.hpp index b6c59994..fd300457 100644 --- a/include/boost/fusion/sequence/container/set/detail/set_lookup.hpp +++ b/include/boost/fusion/sequence/container/set/detail/set_lookup.hpp @@ -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 #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)