From: adv Date: Wed, 6 Nov 2013 04:40:00 +0000 (+0000) Subject: Comparison of two objects corrected. X-Git-Tag: BR_hydro_v_0_3~43 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=569e3ea12922ffc952cb956e2fddf458e745b307;p=modules%2Fhydro.git Comparison of two objects corrected. --- diff --git a/src/HYDROData/HYDROData_Entity.cxx b/src/HYDROData/HYDROData_Entity.cxx index eb7d6599..f8238ec6 100644 --- a/src/HYDROData/HYDROData_Entity.cxx +++ b/src/HYDROData/HYDROData_Entity.cxx @@ -28,7 +28,7 @@ IMPLEMENT_STANDARD_RTTIEXT(HYDROData_Entity,MMgt_TShared) bool IsEqual(const Handle_HYDROData_Entity& theObj1, const Handle_HYDROData_Entity& theObj2) { if ( !theObj1.IsNull() && !theObj2.IsNull() ) - return theObj1->ID() == theObj2->ID(); + return theObj1->Label() == theObj2->Label(); return false; }