diff --git a/rclcpp/include/rclcpp/node_impl.hpp b/rclcpp/include/rclcpp/node_impl.hpp index d64da26..363d5e7 100644 --- a/rclcpp/include/rclcpp/node_impl.hpp +++ b/rclcpp/include/rclcpp/node_impl.hpp @@ -185,7 +185,7 @@ Node::create_client( template typename service::Service::SharedPtr Node::create_service( - const std::string &service_name, + const std::string & service_name, typename rclcpp::service::Service::CallbackType callback, rclcpp::callback_group::CallbackGroup::SharedPtr group) { diff --git a/rclcpp/include/rclcpp/service.hpp b/rclcpp/include/rclcpp/service.hpp index 46b3294..c91c788 100644 --- a/rclcpp/include/rclcpp/service.hpp +++ b/rclcpp/include/rclcpp/service.hpp @@ -87,12 +87,12 @@ class Service : public ServiceBase public: typedef std::function< void (const std::shared_ptr &, - std::shared_ptr &)> CallbackType; + std::shared_ptr &)> CallbackType; typedef std::function< void (const std::shared_ptr &, - const std::shared_ptr &, - std::shared_ptr &)> CallbackWithHeaderType; + const std::shared_ptr &, + std::shared_ptr &)> CallbackWithHeaderType; RCLCPP_MAKE_SHARED_DEFINITIONS(Service); Service(