fix args of EmptyAllocator::alloc in test

This commit is contained in:
MITSUNARI Shigeo 2022-11-24 16:42:50 +09:00
parent 04d3eb5f5c
commit f07c5c2554

View File

@ -56,7 +56,7 @@ void test2()
void test3()
{
static struct EmptyAllocator : Xbyak::Allocator {
uint8_t *alloc() { return 0; }
uint8_t *alloc(size_t) { return 0; }
} emptyAllocator;
struct Code : CodeGenerator {
Code() : CodeGenerator(8, 0, &emptyAllocator)