EgtGeomKernel 2.5f6 :

- dove possibile e sicuro sostituiti dynamic_cast con static_cast.
This commit is contained in:
DarioS
2023-06-30 11:50:07 +02:00
parent 8f84f78b16
commit b5b48bf4c2
34 changed files with 188 additions and 69 deletions
+1 -1
View File
@@ -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) ;