forked from boostorg/variant2
Make default constructors of some test types noexcept
This commit is contained in:
@ -14,7 +14,7 @@ using namespace boost::variant2;
|
|||||||
|
|
||||||
struct Y1
|
struct Y1
|
||||||
{
|
{
|
||||||
Y1(){} // =default fails on msvc-14.0
|
Y1() noexcept {} // =default fails on msvc-14.0
|
||||||
|
|
||||||
Y1(Y1 const&)
|
Y1(Y1 const&)
|
||||||
{
|
{
|
||||||
@ -26,7 +26,7 @@ struct Y1
|
|||||||
|
|
||||||
struct Y2
|
struct Y2
|
||||||
{
|
{
|
||||||
Y2(){}
|
Y2() noexcept {}
|
||||||
|
|
||||||
Y2(Y2 const&)
|
Y2(Y2 const&)
|
||||||
{
|
{
|
||||||
|
@ -14,7 +14,7 @@ using namespace boost::variant2;
|
|||||||
|
|
||||||
struct Y1
|
struct Y1
|
||||||
{
|
{
|
||||||
Y1(){} // =default fails on msvc-14.0
|
Y1() noexcept {} // =default fails on msvc-14.0
|
||||||
|
|
||||||
Y1(Y1&&)
|
Y1(Y1&&)
|
||||||
{
|
{
|
||||||
@ -26,7 +26,7 @@ struct Y1
|
|||||||
|
|
||||||
struct Y2
|
struct Y2
|
||||||
{
|
{
|
||||||
Y2(){}
|
Y2() noexcept {}
|
||||||
|
|
||||||
Y2(Y2&&)
|
Y2(Y2&&)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user