From 78796d0e7df01f9f147775cfc025873cfcb0abe2 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Fri, 17 May 2024 21:44:21 +0300 Subject: [PATCH] Increase workaround to < 1950, because VS2022 has reached _MSC_VER=1940. Refs #43. --- include/boost/variant2/variant.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/variant2/variant.hpp b/include/boost/variant2/variant.hpp index 1668436..71f6eaa 100644 --- a/include/boost/variant2/variant.hpp +++ b/include/boost/variant2/variant.hpp @@ -1635,7 +1635,7 @@ public: class Ud = typename std::decay::type, class E1 = typename std::enable_if< !std::is_same::value && !std::is_base_of::value && !detail::is_in_place_index::value && !detail::is_in_place_type::value >::type, -#if BOOST_WORKAROUND(BOOST_MSVC, < 1940) +#if BOOST_WORKAROUND(BOOST_MSVC, < 1950) class V = mp11::mp_apply_q< mp11::mp_bind_front, variant >,