From 959da067cd726de08c1d5f8d7ccf5d2a368ae0c2 Mon Sep 17 00:00:00 2001 From: Yadunund Date: Thu, 8 Aug 2024 04:11:45 +0800 Subject: [PATCH] Style Signed-off-by: Yadunund --- rmw_zenoh_cpp/src/detail/rmw_context_impl_s.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 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 d906a8b3..894b0a78 100644 --- a/rmw_zenoh_cpp/src/detail/rmw_context_impl_s.cpp +++ b/rmw_zenoh_cpp/src/detail/rmw_context_impl_s.cpp @@ -219,9 +219,9 @@ rmw_context_impl_s::rmw_context_impl_s( } if (ret != RMW_RET_OK) { throw std::runtime_error( - "Unable to connect to a Zenoh router after " + - std::to_string(configured_connection_attempts.value()) + - " retries."); + "Unable to connect to a Zenoh router after " + + std::to_string(configured_connection_attempts.value()) + + " retries."); } } @@ -309,7 +309,7 @@ rmw_context_impl_s::rmw_context_impl_s( static_cast(allocator->zero_allocate( 1, sizeof(rmw_guard_condition_t), allocator->state)); if (graph_guard_condition == NULL) { - throw std::runtime_error( "failed to allocate graph guard condition"); + throw std::runtime_error("failed to allocate graph guard condition"); } auto free_guard_condition = rcpputils::make_scope_exit( [graph_guard_condition, allocator]() {