mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 18:59:09 +00:00
Get rid of NEW(), TRACKED_NEW, and ZERO().
This commit is contained in:
@ -237,7 +237,7 @@ static void AuthPingProc (void * param) {
|
||||
|
||||
if (!conn->pingsInRoute) {
|
||||
|
||||
AuthTrans * trans = NEW(AuthTrans)(conn);
|
||||
AuthTrans * trans = new AuthTrans(conn);
|
||||
trans->pingAtMs = TimeGetMs();
|
||||
|
||||
s_critsect.Enter();
|
||||
@ -436,7 +436,7 @@ static void FilePingProc (void * param) {
|
||||
|
||||
if (!conn->pingsInRoute) {
|
||||
|
||||
FileTrans * trans = NEW(FileTrans)(conn);
|
||||
FileTrans * trans = new FileTrans(conn);
|
||||
trans->pingAtMs = TimeGetMs();
|
||||
|
||||
s_critsect.Enter();
|
||||
|
Reference in New Issue
Block a user