xo-alloc: explicit typeseq arg to alloc

This commit is contained in:
Roland Conybeare 2026-01-02 10:20:19 -05:00
commit f8df25537e
6 changed files with 31 additions and 16 deletions

View file

@ -30,6 +30,7 @@ namespace xo {
using xo::mm::cmpresult;
using xo::mm::padding;
using xo::facet::with_facet;
using xo::facet::typeseq;
using std::byte;
namespace ut {
@ -109,7 +110,7 @@ namespace xo {
REQUIRE(a1o.allocated() == 0);
size_t req_z = 13;
byte * mem = gc.alloc(req_z);
byte * mem = gc.alloc(typeseq::anon(), req_z);
REQUIRE(mem != nullptr);