Avoid compile error by giving the test type a user defined default constructor
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@280780 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
using std::experimental::optional;
|
||||
|
||||
struct AllowConstAssign {
|
||||
AllowConstAssign() = default;
|
||||
AllowConstAssign() {}
|
||||
AllowConstAssign(AllowConstAssign const&) {}
|
||||
AllowConstAssign const& operator=(AllowConstAssign const&) const {
|
||||
return *this;
|
||||
|
||||
Reference in New Issue
Block a user