mirror of
https://github.com/pybind/pybind11.git
synced 2025-02-01 07:40:31 +00:00
Fixing clang-format oversight.
This commit is contained in:
parent
f4c27c34e8
commit
8d18c1e121
@ -184,14 +184,13 @@ struct type_caster<mpty> : smart_holder_type_caster_load<mpty> {
|
|||||||
// type_caster_base END
|
// type_caster_base END
|
||||||
|
|
||||||
// Originally type_caster_generic::cast.
|
// Originally type_caster_generic::cast.
|
||||||
PYBIND11_NOINLINE static handle cast_const_raw_ptr(
|
PYBIND11_NOINLINE static handle cast_const_raw_ptr(const void *_src,
|
||||||
const void *_src,
|
return_value_policy policy,
|
||||||
return_value_policy policy,
|
handle parent,
|
||||||
handle parent,
|
const detail::type_info *tinfo,
|
||||||
const detail::type_info *tinfo,
|
void *(*copy_constructor)(const void *),
|
||||||
void *(*copy_constructor)(const void *),
|
void *(*move_constructor)(const void *),
|
||||||
void *(*move_constructor)(const void *),
|
const void *existing_holder = nullptr) {
|
||||||
const void *existing_holder = nullptr) {
|
|
||||||
if (!tinfo) // no type info: error will be set already
|
if (!tinfo) // no type info: error will be set already
|
||||||
return handle();
|
return handle();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user