Skip to content

Commit

Permalink
Update forward declarations of rcl_lifecycle types (#1788)
Browse files Browse the repository at this point in the history
* Include rcl_lifecycle and drop forward declarations

Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
  • Loading branch information
hidmic authored Sep 29, 2021
1 parent fa3a6fa commit 9e445bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions rclcpp_lifecycle/include/rclcpp_lifecycle/state.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,11 @@

#include <string>

#include "rcl_lifecycle/data_types.h"
#include "rclcpp_lifecycle/visibility_control.h"

#include "rcutils/allocator.h"

// forward declare rcl_state_t
typedef struct rcl_lifecycle_state_t rcl_lifecycle_state_t;

namespace rclcpp_lifecycle
{

Expand Down
4 changes: 1 addition & 3 deletions rclcpp_lifecycle/include/rclcpp_lifecycle/transition.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,12 @@

#include <string>

#include "rcl_lifecycle/data_types.h"
#include "rclcpp_lifecycle/state.hpp"
#include "rclcpp_lifecycle/visibility_control.h"

#include "rcutils/allocator.h"

// forward declare rcl_transition_t
typedef struct rcl_lifecycle_transition_t rcl_lifecycle_transition_t;

namespace rclcpp_lifecycle
{

Expand Down

0 comments on commit 9e445bd

Please sign in to comment.