Skip to content

Commit

Permalink
fix code style divergence
Browse files Browse the repository at this point in the history
  • Loading branch information
fmessmer committed Jul 11, 2023
1 parent e855ecb commit 1b40977
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/ros1_bridge/action_factory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class ActionFactory_1_2 : public ActionFactoryInterface
private:
class GoalHandler
{
public:
public:
void cancel()
{
std::lock_guard<std::mutex> lock(mutex_);
Expand Down Expand Up @@ -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_;
Expand Down Expand Up @@ -312,7 +312,7 @@ class ActionFactory_2_1 : public ActionFactoryInterface
private:
class GoalHandler
{
public:
public:
void cancel()
{
std::lock_guard<std::mutex> lock(mutex_);
Expand Down Expand Up @@ -382,7 +382,7 @@ class ActionFactory_2_1 : public ActionFactoryInterface
GoalHandler(std::shared_ptr<ROS2ServerGoalHandle> & gh2, std::shared_ptr<ROS1Client> & client)
: gh2_(gh2), client_(client), canceled_(false) {}

private:
private:
std::shared_ptr<ROS1ClientGoalHandle> gh1_;
std::shared_ptr<ROS2ServerGoalHandle> gh2_;
std::shared_ptr<ROS1Client> client_;
Expand Down

0 comments on commit 1b40977

Please sign in to comment.