xo-alloc: explicit typeseq arg to alloc
This commit is contained in:
parent
8c56a94238
commit
6bd33bd900
22 changed files with 99 additions and 48 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