Removed the smnew macro and the call to _CrtSetDbgFlag() to get ready for
merging with the main branch.
This commit is contained in:
+2
-2
@@ -531,7 +531,7 @@ RageMutex::RageMutex( const RString &name ):
|
||||
|
||||
/* if( g_FreeMutexIDs == NULL )
|
||||
{
|
||||
g_FreeMutexIDs = smnew set<int>;
|
||||
g_FreeMutexIDs = new set<int>;
|
||||
for( int i = 0; i < MAX_MUTEXES; ++i )
|
||||
g_FreeMutexIDs->insert( i );
|
||||
}
|
||||
@@ -555,7 +555,7 @@ RageMutex::RageMutex( const RString &name ):
|
||||
g_FreeMutexIDs->erase( g_FreeMutexIDs->begin() );
|
||||
|
||||
if( g_MutexList == NULL )
|
||||
g_MutexList = smnew vector<RageMutex*>;
|
||||
g_MutexList = new vector<RageMutex*>;
|
||||
|
||||
g_MutexList->push_back( this );
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user