From 00e7cd1e0266c818a5e6dc78a5c27dda1ede3af3 Mon Sep 17 00:00:00 2001 From: Kartik Arcot Date: Sat, 21 Jan 2023 14:08:56 -0800 Subject: [PATCH] hope this resolves ci issue --- gtsam/base/tests/testStdOptionalSerialization.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtsam/base/tests/testStdOptionalSerialization.cpp b/gtsam/base/tests/testStdOptionalSerialization.cpp index a5aa815cd..dd99b0f12 100644 --- a/gtsam/base/tests/testStdOptionalSerialization.cpp +++ b/gtsam/base/tests/testStdOptionalSerialization.cpp @@ -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;