mirror of
https://github.com/boostorg/variant2.git
synced 2025-08-01 05:04:27 +02:00
Extend msvc-14.2 workaround to 14.3
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
// Copyright 2017, 2020 Peter Dimov.
|
// Copyright 2017, 2020 Peter Dimov.
|
||||||
// Distributed under the Boost Software License, Version 1.0.
|
// Distributed under the Boost Software License, Version 1.0.
|
||||||
// https://www.boost.org/LICENSE_1_0.txt
|
// https://www.boost.org/LICENSE_1_0.txt
|
||||||
@@ -15,7 +14,7 @@
|
|||||||
|
|
||||||
struct X: boost::variant2::variant<int, float>
|
struct X: boost::variant2::variant<int, float>
|
||||||
{
|
{
|
||||||
#if BOOST_WORKAROUND( BOOST_MSVC, < 1930 )
|
#if BOOST_WORKAROUND( BOOST_MSVC, < 1940 )
|
||||||
|
|
||||||
template<class T> explicit X( T&& t ): variant( std::forward<T>( t ) ) {};
|
template<class T> explicit X( T&& t ): variant( std::forward<T>( t ) ) {};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user