Skip to content

Commit

Permalink
swap argument order
Browse files Browse the repository at this point in the history
  • Loading branch information
sloretz committed Dec 5, 2018
1 parent 7cb39d8 commit 05cfd8e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ ClientGoalHandle<ActionT>::call_feedback_callback(
return;
}
std::lock_guard<std::mutex> guard(handle_mutex_);
if (feedback_callback_ == nullptr) {
if (nullptr == feedback_callback_) {
// Normal, some feedback messages may arrive after the goal result.
RCLCPP_DEBUG(rclcpp::get_logger("rclcpp_action"), "Received feedback but goal ignores it.");
return;
Expand Down

0 comments on commit 05cfd8e

Please sign in to comment.