Skip to content

Commit 3cdb259

Browse files
authored
address ambiguous auto variable. (#2481)
Signed-off-by: Tomoya Fujita <[email protected]> Signed-off-by: Steve Nogar <[email protected]>
1 parent 9171835 commit 3cdb259

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rclcpp/include/rclcpp/client.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,7 @@ class Client : public ClientBase
864864
"Received invalid sequence number. Ignoring...");
865865
return std::nullopt;
866866
}
867-
auto value = std::move(it->second.second);
867+
std::optional<CallbackInfoVariant> value = std::move(it->second.second);
868868
this->pending_requests_.erase(request_number);
869869
return value;
870870
}

0 commit comments

Comments
 (0)