diff --git a/rclcpp/include/rclcpp/parameter_client.hpp b/rclcpp/include/rclcpp/parameter_client.hpp index 8ef7457..66314bd 100644 --- a/rclcpp/include/rclcpp/parameter_client.hpp +++ b/rclcpp/include/rclcpp/parameter_client.hpp @@ -341,7 +341,7 @@ public: template typename rclcpp::subscription::Subscription::SharedPtr - on_parameter_event(FunctorT & callback) + on_parameter_event(FunctorT callback) { return async_parameters_client_->on_parameter_event(callback); }