Skip to content

Commit

Permalink
address ambiguous auto variable. (#2481)
Browse files Browse the repository at this point in the history
Signed-off-by: Tomoya Fujita <[email protected]>
Signed-off-by: Steve Nogar <[email protected]>
  • Loading branch information
fujitatomoya authored Apr 4, 2024
1 parent 9171835 commit 3cdb259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rclcpp/include/rclcpp/client.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,7 @@ class Client : public ClientBase
"Received invalid sequence number. Ignoring...");
return std::nullopt;
}
auto value = std::move(it->second.second);
std::optional<CallbackInfoVariant> value = std::move(it->second.second);
this->pending_requests_.erase(request_number);
return value;
}
Expand Down

0 comments on commit 3cdb259

Please sign in to comment.