hope this resolves ci issue
parent
97750a136a
commit
00e7cd1e02
|
@ -60,6 +60,8 @@ public:
|
||||||
TestOptionalStruct() = default;
|
TestOptionalStruct() = default;
|
||||||
TestOptionalStruct(const int& opt)
|
TestOptionalStruct(const int& opt)
|
||||||
: opt(opt) {}
|
: opt(opt) {}
|
||||||
|
// A copy constructor is needed for serialization
|
||||||
|
TestOptionalStruct(const TestOptionalStruct& other) = default;
|
||||||
bool operator==(const TestOptionalStruct& other) const {
|
bool operator==(const TestOptionalStruct& other) const {
|
||||||
// check the values are equal
|
// check the values are equal
|
||||||
return *opt == *other.opt;
|
return *opt == *other.opt;
|
||||||
|
|
Loading…
Reference in New Issue