Skip to content

Commit

Permalink
Update rmw_zenoh_cpp/src/rmw_zenoh.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Yadu <[email protected]>
Signed-off-by: Shivang Vijay <[email protected]>
  • Loading branch information
shivangvijay and Yadunund authored Mar 12, 2024
1 parent a136fe2 commit 11f3613
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rmw_zenoh_cpp/src/rmw_zenoh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ z_owned_keyexpr_t ros_topic_name_to_zenoh_key(const char * topic_name, size_t do
size_t topic_name_len = strlen(topic_name);
size_t end_offset = topic_name_len;

std::string topic_nm(topic_name);
topic_nm = liveliness::mangle_name(topic_nm);
topic_nm = liveliness::mangle_name(topic_name);

return z_keyexpr_join(
z_keyexpr(d.c_str()),
Expand Down

0 comments on commit 11f3613

Please sign in to comment.