mirror of
https://github.com/pybind/pybind11.git
synced 2026-05-12 09:17:42 +00:00
Pure clang-format cleanup (after #2904), NO other changes.
This commit is contained in:
@@ -716,7 +716,8 @@ struct smart_holder_type_caster<std::unique_ptr<T, D>> : smart_holder_type_caste
|
||||
|
||||
return inst.release();
|
||||
}
|
||||
static handle cast(const std::unique_ptr<T, D> &src, return_value_policy policy, handle parent) {
|
||||
static handle
|
||||
cast(const std::unique_ptr<T, D> &src, return_value_policy policy, handle parent) {
|
||||
if (!src)
|
||||
return none().release();
|
||||
if (policy == return_value_policy::automatic)
|
||||
|
||||
Reference in New Issue
Block a user