Skip to content

Commit dd609dd

Browse files
Make sure serialized objects have friend struct tesseract_common::Serialization
1 parent 4d94012 commit dd609dd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

trajopt_common/include/trajopt_common/collision_types.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ struct CollisionCoeffData
8989
std::set<tesseract_common::LinkNamesPair> zero_coeff_;
9090

9191
friend class boost::serialization::access;
92+
friend struct tesseract_common::Serialization;
9293
template <class Archive>
9394
void serialize(Archive&, const unsigned int); // NOLINT
9495
};
@@ -136,6 +137,7 @@ struct TrajOptCollisionConfig
136137

137138
protected:
138139
friend class boost::serialization::access;
140+
friend struct tesseract_common::Serialization;
139141
template <class Archive>
140142
void serialize(Archive&, const unsigned int); // NOLINT
141143
};

0 commit comments

Comments
 (0)