Salome HOME
Updated copyright comment
[modules/hexablock.git] / src / HEXABLOCK / hexa_utils.cxx
old mode 100755 (executable)
new mode 100644 (file)
index 432e5c4..7b0cfd7
@@ -1,7 +1,7 @@
 
 // C++ : Fonctions utilitaires de Hexa
 
-// Copyright (C) 2009-2015  CEA/DEN, EDF R&D
+// Copyright (C) 2009-2024  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -25,6 +25,7 @@
 #include <cstdlib>
 #include <cmath>
 #include <ctime>
+#include <algorithm>
 #include <sys/stat.h>
 
 BEGIN_NAMESPACE_HEXA
@@ -63,7 +64,7 @@ bool in_test ()
 
 }
 // ======================================================== set_minus
-void set_minus (string& chaine)
+void set_minus (std::string& chaine)
 {
    int lg = chaine.size();
    for (int nc=0 ; nc<lg ; nc++)
@@ -250,7 +251,7 @@ char* read_file (cpchar filename, int& size)
    return buffer;
 }
 // ====================================================== get_time
-cpchar get_time (string& buffer)
+cpchar get_time (std::string& buffer)
 {
    char   quand[24];
    time_t tps;
@@ -277,7 +278,7 @@ bool requals (const double* lun, const double* lautre)
           && requals (lun [1], lautre [1]) && requals (lun [2], lautre [2]) ;
 }
 // ======================================================== make_basename
-int make_basename (cpchar filename, string& base)
+int make_basename (cpchar filename, std::string& base)
 {
    const char slash = '/';
    const char antis = '\\';