anisette is done, how to sign?
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
#include "c.h"
|
||||
#include "ld.h"
|
||||
#include "tier1/utlstring.h"
|
||||
#include "tier1/commandline.h"
|
||||
|
||||
CUtlVector<CUtlString> tier2_CompiledFiles = {
|
||||
"fileformats/ini.cpp",
|
||||
|
||||
@@ -218,7 +218,10 @@ void CJSONObject::CopyTo( IJSONObject *pObject )
|
||||
|
||||
void CJSONObject::Free()
|
||||
{
|
||||
|
||||
for ( auto ¶m: m_params )
|
||||
{
|
||||
JSONManager()->FreeValue(param.m_pValue);
|
||||
}
|
||||
}
|
||||
|
||||
abstract_class CJSONManager: public IJSONManager
|
||||
@@ -247,7 +250,8 @@ IJSONObject *CJSONManager::CreateObject( )
|
||||
|
||||
void CJSONManager::FreeObject( IJSONObject *pObject )
|
||||
{
|
||||
|
||||
pObject->Free();
|
||||
delete (CJSONObject*)pObject;
|
||||
}
|
||||
|
||||
IJSONArray *CJSONManager::CreateArray( )
|
||||
@@ -267,7 +271,8 @@ IJSONValue *CJSONManager::CreateValue( )
|
||||
|
||||
void CJSONManager::FreeValue( IJSONValue *pValue )
|
||||
{
|
||||
|
||||
pValue->Free();
|
||||
delete (CJSONValue*)pValue;
|
||||
}
|
||||
|
||||
#define NEXT_TOKEN() \
|
||||
|
||||
Reference in New Issue
Block a user