Skip to content

Commit

Permalink
Change usage of =default with test structures to VS2015 for (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinmoene committed Jul 6, 2021
1 parent 70c5691 commit 0854335
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/optional.t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1437,7 +1437,7 @@ namespace issue_61 {
// A: copy & move constructable/assignable
struct A
{
#if optional_CPP11_120
#if optional_CPP11_140
A() = default;
A(const A &) = default;
A& operator=(const A &) = default;
Expand All @@ -1454,7 +1454,7 @@ struct A

struct B
{
#if optional_CPP11_120
#if optional_CPP11_140
B() = default;
B(const B &) = delete;
B& operator=(const B &) = delete;
Expand Down

0 comments on commit 0854335

Please sign in to comment.