Removed the smnew macro and the call to _CrtSetDbgFlag() to get ready for
merging with the main branch.
This commit is contained in:
@@ -125,7 +125,7 @@ static int GetOpenSlot( uint64_t iID )
|
||||
|
||||
ThreadImpl *MakeThisThread()
|
||||
{
|
||||
ThreadImpl_Win32 *thread = smnew ThreadImpl_Win32;
|
||||
ThreadImpl_Win32 *thread = new ThreadImpl_Win32;
|
||||
|
||||
SetThreadName( GetCurrentThreadId(), RageThread::GetCurrentThreadName() );
|
||||
|
||||
@@ -151,7 +151,7 @@ ThreadImpl *MakeThisThread()
|
||||
|
||||
ThreadImpl *MakeThread( int (*pFunc)(void *pData), void *pData, uint64_t *piThreadID )
|
||||
{
|
||||
ThreadImpl_Win32 *thread = smnew ThreadImpl_Win32;
|
||||
ThreadImpl_Win32 *thread = new ThreadImpl_Win32;
|
||||
thread->m_pFunc = pFunc;
|
||||
thread->m_pData = pData;
|
||||
|
||||
@@ -254,7 +254,7 @@ uint64_t GetInvalidThreadId()
|
||||
|
||||
MutexImpl *MakeMutex( RageMutex *pParent )
|
||||
{
|
||||
return smnew MutexImpl_Win32( pParent );
|
||||
return new MutexImpl_Win32( pParent );
|
||||
}
|
||||
|
||||
EventImpl_Win32::EventImpl_Win32( MutexImpl_Win32 *pParent )
|
||||
@@ -425,7 +425,7 @@ EventImpl *MakeEvent( MutexImpl *pMutex )
|
||||
{
|
||||
MutexImpl_Win32 *pWin32Mutex = (MutexImpl_Win32 *) pMutex;
|
||||
|
||||
return smnew EventImpl_Win32( pWin32Mutex );
|
||||
return new EventImpl_Win32( pWin32Mutex );
|
||||
}
|
||||
|
||||
SemaImpl_Win32::SemaImpl_Win32( int iInitialValue )
|
||||
@@ -480,7 +480,7 @@ bool SemaImpl_Win32::TryWait()
|
||||
|
||||
SemaImpl *MakeSemaphore( int iInitialValue )
|
||||
{
|
||||
return smnew SemaImpl_Win32( iInitialValue );
|
||||
return new SemaImpl_Win32( iInitialValue );
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user