]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Comparison of two objects corrected.
authoradv <adv@opencascade.com>
Wed, 6 Nov 2013 04:40:00 +0000 (04:40 +0000)
committeradv <adv@opencascade.com>
Wed, 6 Nov 2013 04:40:00 +0000 (04:40 +0000)
src/HYDROData/HYDROData_Entity.cxx

index eb7d6599ebdfb24053625897b711d30de35ff1a4..f8238ec656dbde367949cbcb1104f7ec09497f40 100644 (file)
@@ -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;
 }