EgtGraphics :
- aggiunto ( nothrow) a tutte le new.
This commit is contained in:
+3
-3
@@ -668,11 +668,11 @@ static ObjEGrGraphics*
|
||||
CreateObjEGrGraphics( int nCount, bool bNewWay)
|
||||
{
|
||||
if ( nCount > 1)
|
||||
return ( new ObjMultiGraphics( nCount, bNewWay)) ;
|
||||
return ( new( nothrow) ObjMultiGraphics( nCount, bNewWay)) ;
|
||||
else if ( bNewWay)
|
||||
return ( new ObjNewGraphics) ;
|
||||
return ( new( nothrow) ObjNewGraphics) ;
|
||||
else
|
||||
return ( new ObjOldGraphics) ;
|
||||
return ( new( nothrow) ObjOldGraphics) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user