Skip to content

Commit

Permalink
Fix task composer context serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
Levi-Armstrong committed Aug 6, 2024
1 parent 0a2906e commit 33575f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tesseract_task_composer/core/src/task_composer_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ bool TaskComposerContext::operator==(const TaskComposerContext& rhs) const
{
bool equal = true;
equal &= name == rhs.name;
equal &= dotgraph == rhs.dotgraph;

if (data_storage != nullptr && rhs.data_storage != nullptr)
equal &= (*data_storage == *rhs.data_storage);
Expand All @@ -85,6 +86,7 @@ template <class Archive>
void TaskComposerContext::serialize(Archive& ar, const unsigned int /*version*/)
{
ar& boost::serialization::make_nvp("name", name);
ar& boost::serialization::make_nvp("dotgraph", dotgraph);
ar& boost::serialization::make_nvp("data_storage", data_storage);
ar& boost::serialization::make_nvp("task_infos", task_infos);
ar& boost::serialization::make_nvp("aborted", aborted_);
Expand Down

0 comments on commit 33575f0

Please sign in to comment.