From e4b4b3f02beb42c3dce3b5d352bc225ea6a6cb8f Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Fri, 29 Oct 2021 02:18:23 +0300 Subject: [PATCH] Extend msvc-14.2 workaround to 14.3 --- test/variant_visit_derived.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/variant_visit_derived.cpp b/test/variant_visit_derived.cpp index ed33241..8a162b5 100644 --- a/test/variant_visit_derived.cpp +++ b/test/variant_visit_derived.cpp @@ -1,4 +1,3 @@ - // Copyright 2017, 2020 Peter Dimov. // Distributed under the Boost Software License, Version 1.0. // https://www.boost.org/LICENSE_1_0.txt @@ -15,7 +14,7 @@ struct X: boost::variant2::variant { -#if BOOST_WORKAROUND( BOOST_MSVC, < 1930 ) +#if BOOST_WORKAROUND( BOOST_MSVC, < 1940 ) template explicit X( T&& t ): variant( std::forward( t ) ) {};