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 Dec 27, 2023
1 parent 00cc7c0 commit f50f8f3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions rmw_zenoh_cpp/src/rmw_zenoh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1885,7 +1885,7 @@ rmw_destroy_client(rmw_node_t * node, rmw_client_t * client)
z_drop(z_move(client_data->zn_closure_reply));
// z_drop(z_move(client_data->channel));
z_drop(z_move(client_data->keyexpr));
for(z_owned_reply_t & reply : client_data->replies) {
for (z_owned_reply_t & reply : client_data->replies) {
z_reply_drop(&reply);
}
client_data->replies.clear();
Expand Down Expand Up @@ -1990,7 +1990,9 @@ rmw_send_request(

client_data->zn_closure_reply = z_closure(client_data_handler, nullptr, client_data);

z_get(z_loan(context_impl->session), z_loan(client_data->keyexpr), "", &client_data->zn_closure_reply, &opts);
z_get(
z_loan(context_impl->session), z_loan(
client_data->keyexpr), "", &client_data->zn_closure_reply, &opts);

// z_owned_reply_channel_t channel = zc_reply_non_blocking_fifo_new(16);
// z_get(z_loan(context_impl->session), z_loan(client_data->keyexpr), "", z_move(channel.send),
Expand Down Expand Up @@ -2085,7 +2087,7 @@ rmw_take_response(

*taken = true;

for(z_owned_reply_t & reply : client_data->replies) {
for (z_owned_reply_t & reply : client_data->replies) {
z_reply_drop(&reply);
}
client_data->replies.clear();
Expand Down

0 comments on commit f50f8f3

Please sign in to comment.