xo-alloc: explicit typeseq arg to alloc
This commit is contained in:
parent
a136241fbb
commit
d5b6861b80
11 changed files with 48 additions and 26 deletions
|
|
@ -169,7 +169,7 @@ namespace xo {
|
|||
|
||||
/* arbitrary alloc size */
|
||||
size_t req_z = 13;
|
||||
byte * mem = a1o.alloc(req_z);
|
||||
byte * mem = a1o.alloc(typeseq::anon(), req_z);
|
||||
|
||||
REQUIRE(arena.error_count_ == 0);
|
||||
REQUIRE(mem != nullptr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue