xo-alloc / xo-ordinaltree: work on dual-alloc-policy trees
This commit is contained in:
parent
fd6bdd93c3
commit
77f84cabbb
3 changed files with 10 additions and 2 deletions
|
|
@ -568,6 +568,12 @@ namespace xo {
|
|||
}
|
||||
}
|
||||
|
||||
void
|
||||
GC::forward_inplace(IObject ** lhs)
|
||||
{
|
||||
Object::_forward_inplace(lhs, this);
|
||||
}
|
||||
|
||||
bool
|
||||
GC::check_owned(IObject * src) const
|
||||
{
|
||||
|
|
|
|||
|
|
@ -24,7 +24,8 @@ namespace xo {
|
|||
Object::mm = nullptr;
|
||||
|
||||
IObject *
|
||||
Object::_forward(IObject * src, gc::IAlloc * gc)
|
||||
Object::_forward(IObject * src,
|
||||
gc::IAlloc * gc)
|
||||
{
|
||||
if (!src)
|
||||
return src;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue