mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Get rid of NEW(), TRACKED_NEW, and ZERO().
This commit is contained in:
@ -87,7 +87,7 @@ plProgressMgr::plProgressMgr()
|
||||
// Fill array with pre-computed loading frame IDs
|
||||
for (int i=0; i < LOADING_RES_COUNT; i++)
|
||||
{
|
||||
char* frameID = TRACKED_NEW char[128];
|
||||
char* frameID = new char[128];
|
||||
sprintf(frameID, LOADING_RES, i);
|
||||
fImageRotation[i] = frameID;
|
||||
}
|
||||
@ -125,7 +125,7 @@ plOperationProgress* plProgressMgr::IRegisterOperation(float length, const char
|
||||
Activate();
|
||||
}
|
||||
|
||||
plOperationProgress *op = TRACKED_NEW plOperationProgress( length );
|
||||
plOperationProgress *op = new plOperationProgress( length );
|
||||
|
||||
op->SetTitle( title );
|
||||
|
||||
|
Reference in New Issue
Block a user