From b56328230ea44bbd9b8fd09826c81f3f4574a8d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Hern=C3=A1ndez=20Cordero?= Date: Mon, 25 Nov 2024 16:26:26 +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_context_impl_s.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 98e637a3..bba9d5b0 100644 --- a/rmw_zenoh_cpp/src/detail/rmw_context_impl_s.cpp +++ b/rmw_zenoh_cpp/src/detail/rmw_context_impl_s.cpp @@ -98,7 +98,7 @@ class rmw_context_impl_s::Data final std::move(config.value()), zenoh::Session::SessionOptions::create_default(), &result); - if(result != Z_OK) { + if (result != Z_OK) { throw std::runtime_error("Error setting up zenoh session. "); } @@ -225,7 +225,7 @@ class rmw_context_impl_s::Data final data_shared_ptr->update_graph_cache( sample, std::string(sample.get_keyexpr().as_string_view())); - }, + }, zenoh::closures::none, std::move(sub_options), &err);