We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9171835 commit 3cdb259Copy full SHA for 3cdb259
rclcpp/include/rclcpp/client.hpp
@@ -864,7 +864,7 @@ class Client : public ClientBase
864
"Received invalid sequence number. Ignoring...");
865
return std::nullopt;
866
}
867
- auto value = std::move(it->second.second);
+ std::optional<CallbackInfoVariant> value = std::move(it->second.second);
868
this->pending_requests_.erase(request_number);
869
return value;
870
0 commit comments