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