From: adv Date: Thu, 16 Jan 2014 11:07:30 +0000 (+0000) Subject: Temporary workaround for python. X-Git-Tag: BR_hydro_v_1_0~83 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4a4e234c1bde9db8ac7e1020842ab355e03335b0;p=modules%2Fhydro.git Temporary workaround for python. --- diff --git a/src/HYDROData/HYDROData_Polyline3D.cxx b/src/HYDROData/HYDROData_Polyline3D.cxx index 6239b431..d5a9425e 100644 --- a/src/HYDROData/HYDROData_Polyline3D.cxx +++ b/src/HYDROData/HYDROData_Polyline3D.cxx @@ -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( this ); // Temporary to be revised me->SetReferenceObject( aProfileUZ, DataTag_ChildProfileUZ ); return aProfileUZ;