Skip to content

Commit

Permalink
Style
Browse files Browse the repository at this point in the history
Signed-off-by: Yadunund <[email protected]>
  • Loading branch information
Yadunund committed Aug 7, 2024
1 parent f6d3ab1 commit 959da06
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rmw_zenoh_cpp/src/detail/rmw_context_impl_s.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
}
}

Expand Down Expand Up @@ -309,7 +309,7 @@ rmw_context_impl_s::rmw_context_impl_s(
static_cast<rmw_guard_condition_t *>(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]() {
Expand Down

0 comments on commit 959da06

Please sign in to comment.