From 71f21c757f898e7306bb0bc1bbc5b414838c0bac Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sat, 6 Jan 2024 07:28:16 +0200 Subject: [PATCH] Fix BOOST_MP11_MSVC remnants --- include/boost/bind/detail/tuple_for_each.hpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/boost/bind/detail/tuple_for_each.hpp b/include/boost/bind/detail/tuple_for_each.hpp index 24a05b0..b1091ca 100644 --- a/include/boost/bind/detail/tuple_for_each.hpp +++ b/include/boost/bind/detail/tuple_for_each.hpp @@ -1,7 +1,7 @@ #ifndef BOOST_BIND_DETAIL_TUPLE_FOR_EACH_HPP_INCLUDED #define BOOST_BIND_DETAIL_TUPLE_FOR_EACH_HPP_INCLUDED -// Copyright 2015-2020 Peter Dimov. +// Copyright 2015-2020, 2024 Peter Dimov. // // Distributed under the Boost Software License, Version 1.0. // @@ -9,11 +9,12 @@ // http://www.boost.org/LICENSE_1_0.txt #include +#include #include #include #include -#if BOOST_MP11_MSVC +#if BOOST_MSVC # pragma warning( push ) # pragma warning( disable: 4100 ) // unreferenced formal parameter 'tp' #endif @@ -56,7 +57,7 @@ template F tuple_for_each( F&& f, Tp1&& tp1, Tp2& } // namespace _bi } // namespace boost -#if BOOST_MP11_MSVC +#if BOOST_MSVC # pragma warning( pop ) #endif