diff --git a/tesseract_task_composer/planning/src/nodes/continuous_contact_check_task.cpp b/tesseract_task_composer/planning/src/nodes/continuous_contact_check_task.cpp index ff24e593d2..d24975cd54 100644 --- a/tesseract_task_composer/planning/src/nodes/continuous_contact_check_task.cpp +++ b/tesseract_task_composer/planning/src/nodes/continuous_contact_check_task.cpp @@ -174,7 +174,7 @@ ContinuousContactCheckTask::runImpl(TaskComposerContext& context, OptionalTaskCo const auto& contact_map = contacts[i]; if (!contact_map.empty()) { - ss << contact_map.getCollisionSummary().str() << "\n"; + ss << contact_map.getCollisionSummary() << "\n"; } } info->status_message = ss.str(); diff --git a/tesseract_task_composer/planning/src/nodes/discrete_contact_check_task.cpp b/tesseract_task_composer/planning/src/nodes/discrete_contact_check_task.cpp index 5bcef6648b..e033688727 100644 --- a/tesseract_task_composer/planning/src/nodes/discrete_contact_check_task.cpp +++ b/tesseract_task_composer/planning/src/nodes/discrete_contact_check_task.cpp @@ -170,7 +170,7 @@ std::unique_ptr DiscreteContactCheckTask::runImpl(TaskComp const auto& contact_map = contacts[i]; if (!contact_map.empty()) { - ss << contact_map.getCollisionSummary().str() << "\n"; + ss << contact_map.getCollisionSummary() << "\n"; } } info->status_message = ss.str();