EgtGeomKernel 2.5f6 :
- dove possibile e sicuro sostituiti dynamic_cast con static_cast.
This commit is contained in:
+1
-1
@@ -111,7 +111,7 @@ CurveLine::Clone( void) const
|
||||
bool
|
||||
CurveLine::CopyFrom( const IGeoObj* pGObjSrc)
|
||||
{
|
||||
const CurveLine* pCL = dynamic_cast<const CurveLine*>( pGObjSrc) ;
|
||||
const CurveLine* pCL = GetBasicCurveLine( pGObjSrc) ;
|
||||
if ( pCL == nullptr)
|
||||
return false ;
|
||||
return CopyFrom( *pCL) ;
|
||||
|
||||
Reference in New Issue
Block a user