Salome HOME
[bos #40653][CEA] New mesh import export formats with meshio.
[modules/smesh.git] / src / DriverUNV / UNV_Utilities.hxx
index e41ff1ba3961e8c0ecff075ec7e5fe9f83b7e8d3..3ee8e8a1e247576132bf12399b245a4fcf028c5f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2019  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2024  CEA, EDF, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -79,6 +79,8 @@ namespace UNV {
       }
       if (news == ds_name)
         return true;
+
+      olds.clear();
     }
     // should never end up here
     return false;
@@ -139,7 +141,7 @@ namespace UNV {
       resLine.resize( resLine.size()-1 );
     return resLine;
   }
-};
+}
 
 
 #ifndef MESSAGE