From 09f37d97974f6c4fb02e9c2f5c800b1a41013049 Mon Sep 17 00:00:00 2001 From: Julien Enoch Date: Mon, 3 Jun 2024 11:23:16 +0200 Subject: [PATCH] Fix code style --- rmw_zenoh_cpp/src/detail/liveliness_utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rmw_zenoh_cpp/src/detail/liveliness_utils.cpp b/rmw_zenoh_cpp/src/detail/liveliness_utils.cpp index f0872234..c7d073e8 100644 --- a/rmw_zenoh_cpp/src/detail/liveliness_utils.cpp +++ b/rmw_zenoh_cpp/src/detail/liveliness_utils.cpp @@ -224,7 +224,7 @@ std::string zid_to_str(const z_id_t & id) std::stringstream ss; ss << std::hex; // By Zenoh convention a z_id_t is a little endian u128 - size_t i = sizeof(id.id)-1; + size_t i = sizeof(id.id) - 1; for (; i >= 0; i--) { ss << static_cast(id.id[i]); }