From 0337ed944d474deb31f83b4fa13d6fbfd58b1ecb Mon Sep 17 00:00:00 2001 From: Jakob Lykke Andersen Date: Thu, 24 Jun 2021 14:02:29 +0200 Subject: [PATCH] SH, fix use of PYBIND11_TYPE_CASTER_BASE_HOLDER --- tests/test_class_sh_shared_ptr_copy_move.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_class_sh_shared_ptr_copy_move.cpp b/tests/test_class_sh_shared_ptr_copy_move.cpp index 5f2644fc8..7e1239651 100644 --- a/tests/test_class_sh_shared_ptr_copy_move.cpp +++ b/tests/test_class_sh_shared_ptr_copy_move.cpp @@ -26,7 +26,7 @@ using FooSmHld = Foo<1>; } // namespace } // namespace pybind11_tests -PYBIND11_TYPE_CASTER_BASE_HOLDER(pybind11_tests::FooShPtr) +PYBIND11_TYPE_CASTER_BASE_HOLDER(pybind11_tests::FooShPtr, std::shared_ptr) PYBIND11_SMART_HOLDER_TYPE_CASTERS(pybind11_tests::FooSmHld) namespace pybind11_tests {