From c5455becebf48d691839a273400b026045d7afe9 Mon Sep 17 00:00:00 2001 From: Esteve Fernandez Date: Mon, 12 Oct 2015 17:31:48 -0700 Subject: [PATCH] Update callback signature --- rclcpp/include/rclcpp/any_subscription_callback.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rclcpp/include/rclcpp/any_subscription_callback.hpp b/rclcpp/include/rclcpp/any_subscription_callback.hpp index c54a8b8..a205d2f 100644 --- a/rclcpp/include/rclcpp/any_subscription_callback.hpp +++ b/rclcpp/include/rclcpp/any_subscription_callback.hpp @@ -90,7 +90,7 @@ struct AnySubscriptionCallback typename std::enable_if< std::is_same< typename function_traits::template argument_type<1>, - rmw_message_info_t + const rmw_message_info_t & >::value >::type * = nullptr) {