From 35b2c106a12d3efaf16b5796e9f5e3ebf4a5bae5 Mon Sep 17 00:00:00 2001 From: Esteve Fernandez Date: Mon, 20 Apr 2015 15:45:58 -0700 Subject: [PATCH] Fix code style --- rclcpp/include/rclcpp/node_impl.hpp | 2 +- rclcpp/include/rclcpp/service.hpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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(