rename AbstractMemoryAllocator::Alloc(const uint64 size).
This commit is contained in:
@@ -41,7 +41,7 @@ namespace hgl
|
||||
return result;
|
||||
}
|
||||
|
||||
bool AbstractMemoryAllocator::AllocMemory(const uint64 size)
|
||||
bool AbstractMemoryAllocator::Alloc(const uint64 size)
|
||||
{
|
||||
if(size<=0)return(false);
|
||||
|
||||
|
@@ -29,7 +29,7 @@ namespace hgl
|
||||
bool MemoryBlock::Alloc(const uint64 size,const uint64 uint_size)
|
||||
{
|
||||
memory_allocator->SetAllocUnitSize(uint_size);
|
||||
return memory_allocator->AllocMemory(size);
|
||||
return memory_allocator->Alloc(size);
|
||||
}
|
||||
|
||||
bool MemoryBlock::Write(const uint64 target,const void *source,const uint64 size)
|
||||
|
Reference in New Issue
Block a user