Skip to content

Commit 5521753

Browse files
committed
Revert "Patch possible pybind11 bug"
This reverts commit e5e9ae8.
1 parent e06b58d commit 5521753

File tree

1 file changed

+2
-2
lines changed
  • share/openPMD/thirdParty/pybind11/include/pybind11/detail

1 file changed

+2
-2
lines changed

share/openPMD/thirdParty/pybind11/include/pybind11/detail/class.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,8 +317,8 @@ inline void register_instance(instance *self, void *valptr, const type_info *tin
317317

318318
inline bool deregister_instance(instance *self, void *valptr, const type_info *tinfo) {
319319
bool ret = deregister_instance_impl(valptr, self);
320-
// if (!tinfo->simple_ancestors)
321-
// traverse_offset_bases(valptr, tinfo, self, deregister_instance_impl);
320+
if (!tinfo->simple_ancestors)
321+
traverse_offset_bases(valptr, tinfo, self, deregister_instance_impl);
322322
return ret;
323323
}
324324

0 commit comments

Comments
 (0)