From 084afd6d0097dd680e4c812db61f6255cfbd79c3 Mon Sep 17 00:00:00 2001 From: Christophe Bedard Date: Thu, 30 Apr 2020 09:27:52 -0400 Subject: [PATCH] Update comment about return value in Executor::get_next_ready_executable (#1085) 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 2ef663baac..878628d901 100644 --- a/rclcpp/src/rclcpp/executor.cpp +++ b/rclcpp/src/rclcpp/executor.cpp @@ -602,7 +602,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; }