Skip to content

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
connoranderson committed Dec 20, 2024
1 parent 078ca54 commit 83ac675
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions include/zenoh/api/bytes.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,7 @@ class Bytes : public Owned<::z_owned_bytes_t> {
using Dval = std::remove_reference_t<D>;
using DroppableType = typename detail::closures::Droppable<Dval>;
auto drop = DroppableType::into_context(std::forward<D>(d));
::z_bytes_from_buf(interop::as_owned_c_ptr(*this),
reinterpret_cast<uint8_t*>(ptr->data()),
ptr->size(),
::z_bytes_from_buf(interop::as_owned_c_ptr(*this), reinterpret_cast<uint8_t*>(ptr->data()), ptr->size(),
detail::closures::_zenoh_drop_with_context, drop);
}

Expand Down

0 comments on commit 83ac675

Please sign in to comment.