Removed the smnew macro and the call to _CrtSetDbgFlag() to get ready for
merging with the main branch.
This commit is contained in:
@@ -24,18 +24,18 @@
|
||||
static struct FileDriverEntry_DIR: public FileDriverEntry
|
||||
{
|
||||
FileDriverEntry_DIR(): FileDriverEntry( "DIR" ) { }
|
||||
RageFileDriver *Create( const RString &sRoot ) const { return smnew RageFileDriverDirect( sRoot ); }
|
||||
RageFileDriver *Create( const RString &sRoot ) const { return new RageFileDriverDirect( sRoot ); }
|
||||
} const g_RegisterDriver;
|
||||
|
||||
/* Direct read-only filesystem access: */
|
||||
static struct FileDriverEntry_DIRRO: public FileDriverEntry
|
||||
{
|
||||
FileDriverEntry_DIRRO(): FileDriverEntry( "DIRRO" ) { }
|
||||
RageFileDriver *Create( const RString &sRoot ) const { return smnew RageFileDriverDirectReadOnly( sRoot ); }
|
||||
RageFileDriver *Create( const RString &sRoot ) const { return new RageFileDriverDirectReadOnly( sRoot ); }
|
||||
} const g_RegisterDriver2;
|
||||
|
||||
RageFileDriverDirect::RageFileDriverDirect( const RString &sRoot ):
|
||||
RageFileDriver( smnew DirectFilenameDB(sRoot) )
|
||||
RageFileDriver( new DirectFilenameDB(sRoot) )
|
||||
{
|
||||
Remount( sRoot );
|
||||
}
|
||||
@@ -89,7 +89,7 @@ static RageFileObjDirect *MakeFileObjDirect( RString sPath, int iMode, int &iErr
|
||||
}
|
||||
#endif
|
||||
|
||||
return smnew RageFileObjDirect( sPath, iFD, iMode );
|
||||
return new RageFileObjDirect( sPath, iFD, iMode );
|
||||
}
|
||||
|
||||
RageFileBasic *RageFileDriverDirect::Open( const RString &sPath_, int iMode, int &iError )
|
||||
|
||||
Reference in New Issue
Block a user