From 1b4097753726011e810192ef298a3c2f8f9c2ebd Mon Sep 17 00:00:00 2001 From: fmessmer Date: Tue, 11 Jul 2023 16:57:39 +0200 Subject: [PATCH] fix code style divergence --- include/ros1_bridge/action_factory.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/ros1_bridge/action_factory.hpp b/include/ros1_bridge/action_factory.hpp index fd386a56..7e1e2e76 100644 --- a/include/ros1_bridge/action_factory.hpp +++ b/include/ros1_bridge/action_factory.hpp @@ -121,7 +121,7 @@ class ActionFactory_1_2 : public ActionFactoryInterface private: class GoalHandler { - public: +public: void cancel() { std::lock_guard lock(mutex_); @@ -193,7 +193,7 @@ class ActionFactory_1_2 : public ActionFactoryInterface GoalHandler(ROS1GoalHandle & gh1, ROS2ClientSharedPtr & client, rclcpp::Logger logger) : gh1_(gh1), gh2_(nullptr), client_(client), logger_(logger), canceled_(false) {} - private: +private: ROS1GoalHandle gh1_; ROS2ClientGoalHandle gh2_; ROS2ClientSharedPtr client_; @@ -312,7 +312,7 @@ class ActionFactory_2_1 : public ActionFactoryInterface private: class GoalHandler { - public: +public: void cancel() { std::lock_guard lock(mutex_); @@ -382,7 +382,7 @@ class ActionFactory_2_1 : public ActionFactoryInterface GoalHandler(std::shared_ptr & gh2, std::shared_ptr & client) : gh2_(gh2), client_(client), canceled_(false) {} - private: +private: std::shared_ptr gh1_; std::shared_ptr gh2_; std::shared_ptr client_;