1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-20 20:29:10 +00:00

Get rid of NEW(), TRACKED_NEW, and ZERO().

This commit is contained in:
Darryl Pogue
2012-01-21 01:09:48 -08:00
committed by Adam Johnson
parent 30430d3024
commit 5013a978eb
423 changed files with 2500 additions and 2503 deletions

View File

@ -587,7 +587,7 @@ bool SqlConn::GrowConnections_CS (unsigned attempts) {
break;
// Leave the critical section to perform connection
SqlStmt * stmt = NEW(SqlStmt)(this);
SqlStmt * stmt = new SqlStmt(this);
// Ensure that the connection string is valid
// for the duration of the initialization by
@ -789,7 +789,7 @@ SqlConn * SqlConnCreate (
LogErr(result, SQL_HANDLE_ENV, henv, L"SQLSetEnvAttr(version)", L"");
// Allocate a connection record
SqlConn * conn = NEW(SqlConn)(connectStr, henv);
SqlConn * conn = new SqlConn(connectStr, henv);
// Update configuration options
conn->critsect.Enter();