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; }