Skip to content

Commit

Permalink
Clang format.
Browse files Browse the repository at this point in the history
  • Loading branch information
iwanders committed Nov 5, 2023
1 parent eb05f97 commit 23d5eac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/pybind11/detail/smart_holder_type_casters.h
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,7 @@ struct smart_holder_type_caster<std::unique_ptr<T const, D>>
cast(std::unique_ptr<T const, D> &&src, return_value_policy policy, handle parent) {
return smart_holder_type_caster<std::unique_ptr<T, D>>::cast(
std::unique_ptr<T, D>(const_cast<T *>(src.release()),
std::move(src.get_deleter())), // Const2Mutbl
std::move(src.get_deleter())), // Const2Mutbl
policy,
parent);
}
Expand Down

0 comments on commit 23d5eac

Please sign in to comment.