1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-20 12:36:05 +08:00

Fix KeyValues compile error.

This commit is contained in:
Nicholas Hastings
2014-02-28 14:39:35 -05:00
parent e94746ad89
commit bb1638d3b6

View File

@ -2359,12 +2359,12 @@ void *KeyValues::operator new( size_t iAllocSize, int nBlockUse, const char *pFi
//-----------------------------------------------------------------------------
void KeyValues::operator delete( void *pMem )
{
KeyValuesSystem()->FreeKeyValuesMemory(pMem);
KeyValuesSystem()->FreeKeyValuesMemory((KeyValues *)pMem);
}
void KeyValues::operator delete( void *pMem, int nBlockUse, const char *pFileName, int nLine )
{
KeyValuesSystem()->FreeKeyValuesMemory(pMem);
KeyValuesSystem()->FreeKeyValuesMemory((KeyValues *)pMem);
}
void KeyValues::UnpackIntoStructure( KeyValuesUnpackStructure const *pUnpackTable, void *pDest )