hope this resolves ci issue

release/4.3a0
Kartik Arcot 2023-01-21 14:08:56 -08:00
parent 97750a136a
commit 00e7cd1e02
1 changed files with 2 additions and 0 deletions

View File

@ -60,6 +60,8 @@ public:
TestOptionalStruct() = default;
TestOptionalStruct(const int& opt)
: opt(opt) {}
// A copy constructor is needed for serialization
TestOptionalStruct(const TestOptionalStruct& other) = default;
bool operator==(const TestOptionalStruct& other) const {
// check the values are equal
return *opt == *other.opt;