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