Skip to content

Commit

Permalink
Become standard-compatible (#2895)
Browse files Browse the repository at this point in the history
Replace and -> &&
  • Loading branch information
Tobias-Fischer authored Jul 3, 2024
1 parent 7ffdfd3 commit 3f54256
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class ActionBasedControllerHandle : public ActionBasedControllerHandleBase
do
{
status = result_future.wait_for(50ms);
if ((status == std::future_status::timeout) and ((node_->now() - start) > timeout))
if ((status == std::future_status::timeout) && ((node_->now() - start) > timeout))
{
RCLCPP_WARN(LOGGER, "waitForExecution timed out");
return false;
Expand Down

0 comments on commit 3f54256

Please sign in to comment.