From 8d18c1e1218365663795d0403aaabeb2d3807b29 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Fri, 15 Jan 2021 15:49:38 -0800 Subject: [PATCH] Fixing clang-format oversight. --- tests/test_classh_wip.cpp | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/tests/test_classh_wip.cpp b/tests/test_classh_wip.cpp index cb78fd8fd..b5a9274fb 100644 --- a/tests/test_classh_wip.cpp +++ b/tests/test_classh_wip.cpp @@ -184,14 +184,13 @@ struct type_caster : smart_holder_type_caster_load { // type_caster_base END // Originally type_caster_generic::cast. - PYBIND11_NOINLINE static handle cast_const_raw_ptr( - const void *_src, - return_value_policy policy, - handle parent, - const detail::type_info *tinfo, - void *(*copy_constructor)(const void *), - void *(*move_constructor)(const void *), - const void *existing_holder = nullptr) { + PYBIND11_NOINLINE static handle cast_const_raw_ptr(const void *_src, + return_value_policy policy, + handle parent, + const detail::type_info *tinfo, + void *(*copy_constructor)(const void *), + void *(*move_constructor)(const void *), + const void *existing_holder = nullptr) { if (!tinfo) // no type info: error will be set already return handle();