Merge branch 'pybind:master' into master

This commit is contained in:
Steve R. Sun 2023-04-28 09:24:08 +08:00 committed by GitHub
commit 459874ebed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,8 +45,6 @@ using namespace pybind11_tests::vector_unique_ptr_member;
py::object py_cast_VectorOwner_ptr(VectorOwner *ptr) { return py::cast(ptr); } py::object py_cast_VectorOwner_ptr(VectorOwner *ptr) { return py::cast(ptr); }
// PYBIND11_SMART_HOLDER_TYPE_CASTERS(VectorOwner)
TEST_SUBMODULE(vector_unique_ptr_member, m) { TEST_SUBMODULE(vector_unique_ptr_member, m) {
py::class_<VectorOwner>(m, "VectorOwner") py::class_<VectorOwner>(m, "VectorOwner")
.def_static("Create", &VectorOwner::Create) .def_static("Create", &VectorOwner::Create)