diff --git a/rclcpp/include/rclcpp/service.hpp b/rclcpp/include/rclcpp/service.hpp index dce11a9d38..acb28a157c 100644 --- a/rclcpp/include/rclcpp/service.hpp +++ b/rclcpp/include/rclcpp/service.hpp @@ -287,6 +287,7 @@ class Service public std::enable_shared_from_this> { public: + using ServiceType = ServiceT; using CallbackType = std::function< void ( const std::shared_ptr,