Skip to content

Commit

Permalink
Fix -Wdeprecated-declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
henningkayser committed Sep 21, 2021
1 parent f258c4c commit c6a31e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class ActionBasedControllerHandle : public ActionBasedControllerHandleBase
virtual void
controllerDoneCallback(const typename rclcpp_action::ClientGoalHandle<T>::WrappedResult& wrapped_result) = 0;

bool waitForExecution(const rclcpp::Duration& timeout = rclcpp::Duration(-1)) override
bool waitForExecution(const rclcpp::Duration& timeout = rclcpp::Duration::from_seconds(-1.0)) override
{
auto result_callback_done = std::make_shared<std::promise<bool>>();
auto result_future = controller_action_client_->async_get_result(
Expand Down

0 comments on commit c6a31e9

Please sign in to comment.