put the message into the assert in aa_realloc
This commit is contained in:
parent
be80fdedfc
commit
aa2dc7bcf5
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ static void *aa_alloc(HAllocator *allocator, size_t size)
|
|||
static void *aa_realloc(HAllocator *allocator, void *ptr, size_t size)
|
||||
{
|
||||
HArena *arena = ((ArenaAllocator *)allocator)->arena;
|
||||
assert(0); // XXX realloc for arena allocator
|
||||
assert(((void)"XXX need realloc for arena allocator", 0));
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue