Remove reference so that lambdas are supported

This commit is contained in:
Esteve Fernandez 2015-11-03 11:41:45 -08:00
parent 973e38301d
commit 69662b58b3

View file

@ -341,7 +341,7 @@ public:
template<typename FunctorT>
typename rclcpp::subscription::Subscription<rcl_interfaces::msg::ParameterEvent>::SharedPtr
on_parameter_event(FunctorT & callback)
on_parameter_event(FunctorT callback)
{
return async_parameters_client_->on_parameter_event(callback);
}