xo-alloc/xo-ordinaltree: refactor rbtree Node alloc
progress toward careful gc-aware assignment
This commit is contained in:
parent
37d08b8c67
commit
0a2dd316ee
2 changed files with 43 additions and 23 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