Skip to content

Commit 87ad70c

Browse files
authored
Fix the realtime publisher doc (#376)
1 parent 4efcd4c commit 87ad70c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

realtime_tools/doc/realtime_publisher.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The ``realtime_tools::RealtimePublisher`` allows users that write C++ ros2_contr
1010
{
1111
...
1212
private:
13-
std::shared_ptr<realtime_tools::RealtimePublisher<my_msgs::msg::MyMsg>> state_publisher_;
13+
std::unique_ptr<realtime_tools::RealtimePublisher<my_msgs::msg::MyMsg>> state_publisher_;
1414
std::shared_ptr<rclcpp::Publisher<my_msgs::msg::MyMsg>> s_publisher_;
1515
my_msgs::msg::MyMsg some_msg_;
1616
}

0 commit comments

Comments
 (0)