delete CMemPool::Block copy c'tor

This commit is contained in:
TurtleP 2022-12-29 13:34:00 -05:00
parent 3ac5334657
commit 668d29ad31

View File

@ -20,6 +20,8 @@ class CMemPool
void* m_cpuAddr;
DkGpuAddr m_gpuAddr;
Block(const Block&) = delete;
constexpr void* cpuOffset(uint32_t offset) const
{
return m_cpuAddr ? ((u8*)m_cpuAddr + offset) : nullptr;