Skip to content

Commit

Permalink
fix: correct the call by ref
Browse files Browse the repository at this point in the history
  • Loading branch information
YuanYuYuan committed Nov 28, 2024
1 parent 33f0bec commit b8ce65c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rmw_zenoh_cpp/src/detail/rmw_subscription_data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ void sub_data_handler(z_loaned_sample_t * sample, void * data)
slice,
z_timestamp_ntp64_time(z_sample_timestamp(sample)),
std::move(attachment)),
&topic_name);
topic_name);
}
} // namespace

Expand Down

0 comments on commit b8ce65c

Please sign in to comment.