From: apo Date: Thu, 14 Jun 2007 06:46:14 +0000 (+0000) Subject: Fix for Bug IPAL16156 X-Git-Tag: Before_Merging_With_Windows_20jun07~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ab7b243713a725b3539a183dbecd7d869d440dda;p=modules%2Fvisu.git Fix for Bug IPAL16156 - 4.0 Incorrect order of the references in the study. --- diff --git a/src/CONVERTOR/VISU_Structures.cxx b/src/CONVERTOR/VISU_Structures.cxx index 46c15892..35e2791f 100644 --- a/src/CONVERTOR/VISU_Structures.cxx +++ b/src/CONVERTOR/VISU_Structures.cxx @@ -65,6 +65,14 @@ namespace VISU {} + //--------------------------------------------------------------- + bool + operator<(const PFamily& theLeft, const PFamily& theRight) + { + return theLeft->myName < theRight->myName; + } + + //--------------------------------------------------------------- TField ::TField(): diff --git a/src/CONVERTOR/VISU_Structures.hxx b/src/CONVERTOR/VISU_Structures.hxx index cc762c90..512e941a 100644 --- a/src/CONVERTOR/VISU_Structures.hxx +++ b/src/CONVERTOR/VISU_Structures.hxx @@ -184,6 +184,9 @@ namespace VISU //--------------------------------------------------------------- + bool + operator<(const PFamily& theLeft, const PFamily& theRight); + typedef std::set TFamilySet; //! Define a basic class for MED GROUP entity