Removes /proc/type2parent, replaces it with ::parent_type (#96155)

This commit is contained in:
tonty
2026-05-20 17:49:32 +02:00
committed by GitHub
parent 38dbdb8469
commit 960d0a7278
6 changed files with 11 additions and 26 deletions
@@ -22,7 +22,7 @@
if(cached_reagent.type != reagent)
continue
if(REAGENT_PARENT_TYPE) //to simulate typesof() which returns the type and then child types
if(cached_reagent.type != reagent && type2parent(cached_reagent.type) != reagent)
if(cached_reagent.type != reagent && cached_reagent::parent_type != reagent)
continue
else
if(!istype(cached_reagent, reagent))