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 7907b2f commit f80980bCopy full SHA for f80980b
rclcpp/include/rclcpp/client.hpp
@@ -845,7 +845,7 @@ class Client : public ClientBase
845
"Received invalid sequence number. Ignoring...");
846
return std::nullopt;
847
}
848
- auto value = std::move(it->second.second);
+ std::optional<CallbackInfoVariant> value = std::move(it->second.second);
849
this->pending_requests_.erase(request_number);
850
return value;
851
0 commit comments