EgtGraphics :

- aggiunto ( nothrow) a tutte le new.
This commit is contained in:
Dario Sassi
2018-08-22 07:49:07 +00:00
parent c04b3178ae
commit 723ca86c7b
3 changed files with 8 additions and 7 deletions
+3 -3
View File
@@ -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) ;
}
//----------------------------------------------------------------------------