Salome HOME
Updated copyright comment
[modules/hexablock.git] / src / HEXABLOCK / HexGroup.cxx
old mode 100755 (executable)
new mode 100644 (file)
index 763a90e..8839e54
@@ -1,12 +1,12 @@
 
 // C++ : Implementation des groupes
 
-// Copyright (C) 2009-2013  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
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -32,7 +32,7 @@ static const cpchar kind_name[] = { "HexaCell", "QuadCell", "EdgeCell",
 Group::Group   (Document* dad, cpchar nom, EnumGroup grp)
      : EltBase (dad, EL_GROUP) 
 {
-   string name = std::string(nom);
+   std::string name = std::string(nom);
    name.erase (name.find_last_not_of (" \n\r\t" ) + 1);
    name.erase (0, name.find_first_not_of (" \n\r\t" ));