[*] Fuck you

This commit is contained in:
Reece Wilson 2024-08-08 20:17:52 +01:00
parent da7fd881a6
commit adfca81335

View File

@ -402,7 +402,7 @@ namespace Aurora::Memory
MemoryView Clone(Heap *pHeap, AuUInt32 uAlignment = alignof(double)) const
{
auto uLength = this->uLength;
auto pData = detail::AllocateArray(uLength, uAlignment);
auto pData = detail::AllocateArray(pHeap, uLength, uAlignment);
if (!pData)
{
return {};