Add more C++20 fixes.

This commit is contained in:
David Anderson
2026-09-01 18:58:42 -07:00
parent 704f64f467
commit 001ea29ee8
5 changed files with 13 additions and 6 deletions
+5 -5
View File
@@ -1376,15 +1376,15 @@ public:
void Purge()
{
if (!IsExternallyAllocated())
if (!this->IsExternallyAllocated())
{
if (m_pMemory)
if (this->m_pMemory)
{
UTLMEMORY_TRACK_FREE();
g_pMemAlloc->Free((void*)m_pMemory);
m_pMemory = 0;
g_pMemAlloc->Free((void*)this->m_pMemory);
this->m_pMemory = 0;
}
m_nAllocationCount = 0;
this->m_nAllocationCount = 0;
}
BaseClass::Purge();
}