Skip to content

Commit

Permalink
Update comment about return value in Executor::get_next_ready_executa…
Browse files Browse the repository at this point in the history
…ble (ros2#1085)

Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
  • Loading branch information
christophebedard authored and Joshua Hampp committed Jul 7, 2020
1 parent 8f96a03 commit 084afd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rclcpp/src/rclcpp/executor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 084afd6

Please sign in to comment.