]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix for Bug IPAL16156
authorapo <apo@opencascade.com>
Thu, 14 Jun 2007 06:46:14 +0000 (06:46 +0000)
committerapo <apo@opencascade.com>
Thu, 14 Jun 2007 06:46:14 +0000 (06:46 +0000)
 - 4.0 Incorrect order of the references in the study.

src/CONVERTOR/VISU_Structures.cxx
src/CONVERTOR/VISU_Structures.hxx

index 46c15892483e3a950332ee6f7fd659df8acc8dce..35e2791fe99866b5122b55413ca25c4ec91ea90b 100644 (file)
@@ -65,6 +65,14 @@ namespace VISU
   {}
   
   
+  //---------------------------------------------------------------
+  bool
+  operator<(const PFamily& theLeft, const PFamily& theRight)
+  {
+    return theLeft->myName < theRight->myName;
+  }
+
+
   //---------------------------------------------------------------
   TField
   ::TField(): 
index cc762c90727f12089e7342ee2ea5b5bc1a21aeab..512e941a19f650b11138d502db147d33193b8a5d 100644 (file)
@@ -184,6 +184,9 @@ namespace VISU
 
 
   //---------------------------------------------------------------
+  bool
+  operator<(const PFamily& theLeft, const PFamily& theRight);
+
   typedef std::set<PFamily> TFamilySet;
 
   //! Define a basic class for MED GROUP entity