From ab7b243713a725b3539a183dbecd7d869d440dda Mon Sep 17 00:00:00 2001 From: apo Date: Thu, 14 Jun 2007 06:46:14 +0000 Subject: [PATCH] Fix for Bug IPAL16156 - 4.0 Incorrect order of the references in the study. --- src/CONVERTOR/VISU_Structures.cxx | 8 ++++++++ src/CONVERTOR/VISU_Structures.hxx | 3 +++ 2 files changed, 11 insertions(+) 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 -- 2.39.2