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