… | |
… | |
442 | } |
442 | } |
443 | |
443 | |
444 | template<class subclass> |
444 | template<class subclass> |
445 | void reattach (extendable<subclass> *obj) |
445 | void reattach (extendable<subclass> *obj) |
446 | { |
446 | { |
|
|
447 | obj->optimise (); |
|
|
448 | |
447 | if (obj->self) |
449 | if (obj->self) |
448 | reattach (subclass::get_dt (), (subclass *)obj); |
450 | reattach (subclass::get_dt (), (subclass *)obj); |
449 | } |
451 | } |
450 | |
452 | |
451 | void object_thawer::get (data_type type, void *obj, extendable_base *ext) |
453 | void object_thawer::get (data_type type, void *obj, extendable_base *ext) |