diff --git a/rmw_zenoh_cpp/src/detail/rmw_context_impl_s.cpp b/rmw_zenoh_cpp/src/detail/rmw_context_impl_s.cpp index a239d4d5..01930b43 100644 --- a/rmw_zenoh_cpp/src/detail/rmw_context_impl_s.cpp +++ b/rmw_zenoh_cpp/src/detail/rmw_context_impl_s.cpp @@ -169,7 +169,7 @@ class rmw_context_impl_s::Data final // strcmp(shm_enabled._cstr, "true") == 0) // { // // 2 bytes for each byte of the id, plus the trailing \0 - // char idstr[sizeof(zid.id) * 2 + 1]; + // char idstr[sizeof(zid.id) * 2 + 1]; // static constexpr size_t max_size_of_each = 3; // 2 for each byte, plus the trailing \0 // for (size_t i = 0; i < sizeof(zid.id); ++i) { // snprintf(idstr + 2 * i, max_size_of_each, "%02x", zid.id[i]);