Fix code style

This commit is contained in:
Esteve Fernandez 2015-04-20 15:45:58 -07:00
parent 8abae8ac82
commit 35b2c106a1
2 changed files with 4 additions and 4 deletions

View file

@ -185,7 +185,7 @@ Node::create_client(
template<typename ServiceT>
typename service::Service<ServiceT>::SharedPtr
Node::create_service(
const std::string &service_name,
const std::string & service_name,
typename rclcpp::service::Service<ServiceT>::CallbackType callback,
rclcpp::callback_group::CallbackGroup::SharedPtr group)
{

View file

@ -87,12 +87,12 @@ class Service : public ServiceBase
public:
typedef std::function<
void (const std::shared_ptr<typename ServiceT::Request> &,
std::shared_ptr<typename ServiceT::Response> &)> CallbackType;
std::shared_ptr<typename ServiceT::Response> &)> CallbackType;
typedef std::function<
void (const std::shared_ptr<rmw_request_id_t> &,
const std::shared_ptr<typename ServiceT::Request> &,
std::shared_ptr<typename ServiceT::Response> &)> CallbackWithHeaderType;
const std::shared_ptr<typename ServiceT::Request> &,
std::shared_ptr<typename ServiceT::Response> &)> CallbackWithHeaderType;
RCLCPP_MAKE_SHARED_DEFINITIONS(Service);
Service(