Skip to content

Commit

Permalink
Fixed not building example
Browse files Browse the repository at this point in the history
  • Loading branch information
shuhaowu committed Aug 3, 2024
1 parent 63e9211 commit 1b87223
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/ros2/publisher/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ using cactus_rt::ros2::App;
struct RealtimeData {
int64_t data;

RealtimeData() = default;
explicit RealtimeData(int64_t d) : data(d) {}
};
using RosData = std_msgs::msg::Int64;
Expand Down

0 comments on commit 1b87223

Please sign in to comment.