SH, fix use of PYBIND11_TYPE_CASTER_BASE_HOLDER

This commit is contained in:
Jakob Lykke Andersen 2021-06-24 14:02:29 +02:00 committed by Ralf W. Grosse-Kunstleve
parent ee53a45ffd
commit 0337ed944d
1 changed files with 1 additions and 1 deletions

View File

@ -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_tests::FooShPtr>)
PYBIND11_SMART_HOLDER_TYPE_CASTERS(pybind11_tests::FooSmHld)
namespace pybind11_tests {