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