Salome HOME
Fixing ugly stack overflow in test_MPI_Access_ISend_IRecv_Length* tests.
[tools/medcoupling.git] / src / ParaMEDMEM / ICoCoField.hxx
index ce8e24adeea7e7a57fe0ada51c064414d27be500..509dc68f58ba8beeeec7f96beffac34334f56437 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2015  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 
 #ifndef _ICoCoField_included_
 #define _ICoCoField_included_
-
 #include <string>
 
-namespace ICoCo
-{
-  class Field
-  {
+
+namespace ICoCo {
+
+  class Field {
   public:
     Field();
     virtual ~Field();
     void setName(const std::string& name);
     const std::string& getName() const;
-    const char *getCharName() const;
+    const char* getCharName() const;
+    
   private:
-    std::string _name;
+    std::string* _name;
   };
 }
-
 #endif