Skip to content

Commit

Permalink
Fix clang-tidy warning (#393)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaschke authored Nov 9, 2022
1 parent f82c422 commit 2099b0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion visualization/motion_planning_tasks/src/task_panel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ void TaskView::onExecCurrentSolution() const {
RCLCPP_ERROR(LOGGER, "send goal call failed");
return;
}
auto goal_handle = goal_handle_future.get();
const auto& goal_handle = goal_handle_future.get();
if (!goal_handle)
RCLCPP_ERROR(LOGGER, "Goal was rejected by server");
}
Expand Down

0 comments on commit 2099b0c

Please sign in to comment.