From fa5ffc3d0293bc9d6114cd7b2233825344314844 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Thu, 24 Jun 2021 12:53:58 -0700 Subject: [PATCH] Automatic clang-format. --- tests/test_class_sh_shared_ptr_copy_move.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_class_sh_shared_ptr_copy_move.cpp b/tests/test_class_sh_shared_ptr_copy_move.cpp index 823cbc4bf..66770c41c 100644 --- a/tests/test_class_sh_shared_ptr_copy_move.cpp +++ b/tests/test_class_sh_shared_ptr_copy_move.cpp @@ -34,7 +34,8 @@ using FooSmHld = Foo<1>; } // namespace } // namespace pybind11_tests -PYBIND11_TYPE_CASTER_BASE_HOLDER(pybind11_tests::FooShPtr, std::shared_ptr) +PYBIND11_TYPE_CASTER_BASE_HOLDER(pybind11_tests::FooShPtr, + std::shared_ptr) PYBIND11_SMART_HOLDER_TYPE_CASTERS(pybind11_tests::FooSmHld) namespace pybind11_tests { @@ -45,8 +46,7 @@ TEST_SUBMODULE(class_sh_shared_ptr_copy_move, m) { py::class_>(m, "FooShPtr") .def("get_history", &FooShPtr::get_history); - py::classh(m, "FooSmHld") - .def("get_history", &FooSmHld::get_history); + py::classh(m, "FooSmHld").def("get_history", &FooSmHld::get_history); m.def("test_ShPtr_copy", []() { auto o = std::make_shared("copy");