mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
done
This commit is contained in:
parent
3ab9ac03df
commit
8e53b80b89
@ -39,12 +39,12 @@ struct RadixSortMallocAllocator
|
||||
{
|
||||
void * allocate(size_t size)
|
||||
{
|
||||
return malloc(size);
|
||||
return new char[size];
|
||||
}
|
||||
|
||||
void deallocate(void * ptr, size_t /*size*/)
|
||||
{
|
||||
return free(ptr);
|
||||
return delete[](ptr);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user