xo-alloc/xo-ordinaltree: refactor rbtree Node alloc
progress toward careful gc-aware assignment
This commit is contained in:
parent
451425af87
commit
5542fdea8b
6 changed files with 63 additions and 30 deletions
|
|
@ -36,7 +36,8 @@ namespace xo {
|
|||
**/
|
||||
template <typename T>
|
||||
class ObjectVisitor {
|
||||
void forward_children(T & target, IAlloc * gc) { (void)target; (void)gc; }
|
||||
void forward_children(T & target,
|
||||
IAlloc * gc) { (void)target; (void)gc; }
|
||||
};
|
||||
|
||||
#define XO_TRIVIAL_OBJECT_VISITOR(TYPE) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue