// C++ : Implementation des groupes
-// Copyright (C) 2009-2016 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
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" ));