Skip to content

Commit

Permalink
make linters happy
Browse files Browse the repository at this point in the history
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
  • Loading branch information
ahcorde committed Nov 25, 2024
1 parent 92af26f commit b563282
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rmw_zenoh_cpp/src/detail/rmw_context_impl_s.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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. ");
}

Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit b563282

Please sign in to comment.