Skip to content

Commit

Permalink
Please uncrustify.
Browse files Browse the repository at this point in the history
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
  • Loading branch information
hidmic committed Jun 26, 2020
1 parent c7414ff commit bdcf6d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rmw_cyclonedds_cpp/src/rmw_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1140,7 +1140,8 @@ extern "C" rmw_ret_t rmw_init(const rmw_init_options_t * options, rmw_context_t
return RMW_RET_INVALID_ARGUMENT;
}

auto cleanup = rcpputils::make_scope_exit([context]() {
auto cleanup = rcpputils::make_scope_exit(
[context]() {
delete context->impl;
*context = rmw_get_zero_initialized_context();
});
Expand Down

0 comments on commit bdcf6d7

Please sign in to comment.