mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-21 12:49:10 +00:00
Get rid of NEW(), TRACKED_NEW, and ZERO().
This commit is contained in:
@ -53,7 +53,7 @@ plRelevanceMgr::plRelevanceMgr() : fEnabled(true)
|
||||
|
||||
void plRelevanceMgr::Init()
|
||||
{
|
||||
fInstance = TRACKED_NEW plRelevanceMgr;
|
||||
fInstance = new plRelevanceMgr;
|
||||
fInstance->RegisterAs(kRelevanceMgr_KEY);
|
||||
}
|
||||
|
||||
@ -219,7 +219,7 @@ void plRelevanceMgr::ParseCsvInput(hsStream *s)
|
||||
if (strcmp(buff, "") == 0)
|
||||
continue; // ignore the initial blank one
|
||||
|
||||
plRegionInfo *info = TRACKED_NEW plRegionInfo;
|
||||
plRegionInfo *info = new plRegionInfo;
|
||||
regions.Append(info);
|
||||
info->fName = hsStrcpy(buff);
|
||||
info->fIndex = GetIndex(buff);
|
||||
|
Reference in New Issue
Block a user