From b2bab649bd806413051d4841ca0ad81b3f39075f Mon Sep 17 00:00:00 2001 From: Christophe Bedard Date: Wed, 22 Apr 2020 14:17:38 -0400 Subject: [PATCH] Update comment about return value in Executor::get_next_ready_executable Signed-off-by: Christophe Bedard --- rclcpp/src/rclcpp/executor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rclcpp/src/rclcpp/executor.cpp b/rclcpp/src/rclcpp/executor.cpp index 556c42ddde..5a81cb0fc0 100644 --- a/rclcpp/src/rclcpp/executor.cpp +++ b/rclcpp/src/rclcpp/executor.cpp @@ -603,7 +603,7 @@ Executor::get_next_ready_executable(AnyExecutable & any_executable) any_executable.callback_group->can_be_taken_from().store(false); } } - // If there is no ready executable, return a null ptr + // If there is no ready executable, return false return success; }