EgtGeomKernel 1.9h1 :
- sistemazioni varie in CAvToolTriangle - utilizzo di std::async in CAvToolSurfTm - corretto GetAllTriaAroundVertex di SurfTm - aggiunto ( nothrow) a tutti i new.
This commit is contained in:
+2
-2
@@ -498,7 +498,7 @@ CurveComposite*
|
||||
CurveComposite::Clone( void) const
|
||||
{
|
||||
// alloco oggetto
|
||||
CurveComposite* pCrv = new(nothrow) CurveComposite ;
|
||||
CurveComposite* pCrv = new( nothrow) CurveComposite ;
|
||||
if ( pCrv != nullptr) {
|
||||
if ( ! pCrv->CopyFrom( *this)) {
|
||||
delete pCrv ;
|
||||
@@ -1447,7 +1447,7 @@ CurveComposite::CopyParamRange( double dUStart, double dUEnd) const
|
||||
int nIdStart = static_cast<int>( floor( dUStart)) ;
|
||||
int nIdEnd = static_cast<int>( ceil( dUEnd)) ;
|
||||
// creo la curva composita copia
|
||||
PtrOwner<CurveComposite> pCopy( new CurveComposite()) ;
|
||||
PtrOwner<CurveComposite> pCopy( new( nothrow) CurveComposite()) ;
|
||||
if ( IsNull( pCopy))
|
||||
return nullptr ;
|
||||
// eseguo la copia delle sole curve semplici necessarie
|
||||
|
||||
Reference in New Issue
Block a user