xo-object2: streamline DList::list use

This commit is contained in:
Roland Conybeare 2026-01-11 12:32:02 -05:00
commit 8f1361763e
3 changed files with 35 additions and 2 deletions

View file

@ -34,6 +34,7 @@ namespace xo {
return new (mem) DList(car, cdr);
}
#ifdef OBSOLETE
DList *
DList::list(obj<AAllocator> mm,
obj<AGCObject> h1)
@ -52,6 +53,7 @@ namespace xo {
return new (mem) DList(h1, DList::list(mm, h2));
}
#endif
bool
DList::is_empty() const noexcept