]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Temporary workaround for python.
authoradv <adv@opencascade.com>
Thu, 16 Jan 2014 11:07:30 +0000 (11:07 +0000)
committeradv <adv@opencascade.com>
Thu, 16 Jan 2014 11:07:30 +0000 (11:07 +0000)
src/HYDROData/HYDROData_Polyline3D.cxx

index 6239b431bfb24027bc578ebc2625d39a72711e63..d5a9425ef1d42dcb1fca13ec4a9a14a0960ce878 100644 (file)
@@ -291,7 +291,7 @@ Handle(HYDROData_ProfileUZ) HYDROData_Polyline3D::GetChildProfileUZ( const bool
 
   aProfileUZ = aProfile->GetProfileUZ();
 
-  Handle(HYDROData_Polyline3D) me = this;
+  HYDROData_Polyline3D* me = const_cast<HYDROData_Polyline3D*>( this ); // Temporary to be revised
   me->SetReferenceObject( aProfileUZ, DataTag_ChildProfileUZ );
 
   return aProfileUZ;