Skip to content

Commit c124b35

Browse files
committed
SH, fix use of PYBIND11_TYPE_CASTER_BASE_HOLDER
1 parent 35f3cce commit c124b35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_class_sh_shared_ptr_copy_move.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ using FooSmHld = Foo<1>;
2626
} // namespace
2727
} // namespace pybind11_tests
2828

29-
PYBIND11_TYPE_CASTER_BASE_HOLDER(pybind11_tests::FooShPtr)
29+
PYBIND11_TYPE_CASTER_BASE_HOLDER(pybind11_tests::FooShPtr, std::shared_ptr<pybind11_tests::FooShPtr>)
3030
PYBIND11_SMART_HOLDER_TYPE_CASTERS(pybind11_tests::FooSmHld)
3131

3232
namespace pybind11_tests {

0 commit comments

Comments
 (0)