From a0943dd8736387b276c2995b9bfb7a0a2ba3dd66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Hern=C3=A1ndez=20Cordero?= Date: Thu, 5 Dec 2024 11:00:48 +0100 Subject: [PATCH] make linters happy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alejandro Hernández Cordero --- rmw_zenoh_cpp/src/detail/rmw_publisher_data.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rmw_zenoh_cpp/src/detail/rmw_publisher_data.cpp b/rmw_zenoh_cpp/src/detail/rmw_publisher_data.cpp index 1a6326ee..7d4607b6 100644 --- a/rmw_zenoh_cpp/src/detail/rmw_publisher_data.cpp +++ b/rmw_zenoh_cpp/src/detail/rmw_publisher_data.cpp @@ -232,7 +232,11 @@ rmw_ret_t PublisherData::publish( // z_buf_layout_alloc_result_t alloc; // // TODO(yuyuan): SHM, configure this // z_alloc_alignment_t alignment = {5}; - // z_shm_provider_alloc_gc_defrag_blocking(&alloc, z_loan(provider), SHM_BUF_OK_SIZE, alignment); + // z_shm_provider_alloc_gc_defrag_blocking( + // &alloc, + // z_loan(provider), + // SHM_BUF_OK_SIZE, + // alignment); // if (alloc.status == ZC_BUF_LAYOUT_ALLOC_STATUS_OK) { // shmbuf = std::make_optional(alloc.buf);