File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ struct RepublisherNode {
54
54
55
55
impl RepublisherNode {
56
56
fn new (context : & rclrs :: Context ) -> Result <Self , rclrs :: RclrsError > {
57
- let mut node = rclrs :: Node :: new (" republisher" , context )? ;
57
+ let mut node = rclrs :: Node :: new (context , " republisher" )? ;
58
58
let data = None ;
59
59
let _subscription = node . create_subscription (
60
60
" in_topic" ,
@@ -121,7 +121,7 @@ struct RepublisherNode {
121
121
122
122
impl RepublisherNode {
123
123
fn new (context : & rclrs :: Context ) -> Result <Self , rclrs :: RclrsError > {
124
- let mut node = rclrs :: Node :: new (" republisher" , context )? ;
124
+ let mut node = rclrs :: Node :: new (context , " republisher" )? ;
125
125
let data = Arc :: new (Mutex :: new (None )); // (3)
126
126
let data_cb = Arc :: clone (& data );
127
127
let _subscription = {
You can’t perform that action at this time.
0 commit comments