From a6959ec1919a3efff14a9f6346752d06f5272e55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20P=C3=B6schel?= Date: Wed, 2 Nov 2022 10:20:55 +0100 Subject: [PATCH] Revert "Patch possible pybind11 bug" This reverts commit e5e9ae8d7d13c0b5ab4c8736a8b69a985ac018c5. --- .../thirdParty/pybind11/include/pybind11/detail/class.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/openPMD/thirdParty/pybind11/include/pybind11/detail/class.h b/share/openPMD/thirdParty/pybind11/include/pybind11/detail/class.h index 4f85a7f4f0..cc1e40ce7a 100644 --- a/share/openPMD/thirdParty/pybind11/include/pybind11/detail/class.h +++ b/share/openPMD/thirdParty/pybind11/include/pybind11/detail/class.h @@ -317,8 +317,8 @@ inline void register_instance(instance *self, void *valptr, const type_info *tin inline bool deregister_instance(instance *self, void *valptr, const type_info *tinfo) { bool ret = deregister_instance_impl(valptr, self); - // if (!tinfo->simple_ancestors) - // traverse_offset_bases(valptr, tinfo, self, deregister_instance_impl); + if (!tinfo->simple_ancestors) + traverse_offset_bases(valptr, tinfo, self, deregister_instance_impl); return ret; }