Skip to content

Commit

Permalink
Revert "Patch possible pybind11 bug"
Browse files Browse the repository at this point in the history
This reverts commit e5e9ae8.
  • Loading branch information
franzpoeschel committed Nov 2, 2022
1 parent 81eeee4 commit a6959ec
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit a6959ec

Please sign in to comment.