disable construct of ObIAllocator

This commit is contained in:
nroskill
2022-02-10 20:06:48 +08:00
committed by LINxiansheng
parent 17b0f303d7
commit 9007c77b10
15 changed files with 92 additions and 50 deletions

View File

@ -31,11 +31,16 @@ public:
int init(const int64_t obj_size, const char* label, uint64_t tenant_id_);
void* alloc(int64_t sz)
void* alloc(const int64_t sz) override
{
return alloc_(sz);
}
void free(void* ptr)
void* alloc(const int64_t size, const common::ObMemAttr& attr) override
{
UNUSED(attr);
return alloc(size);
}
void free(void* ptr) override
{
free_(ptr);
}