Salome HOME
Copyright update 2022
[modules/med.git] / src / MEDCouplingCorba / MEDCouplingFieldServant.hxx
index a7cff8a3606adf0604416ffd28cbb53568e330eb..08dcd054706b6e74b003393e18ddbd758af880ae 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2007-2013  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2022  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
 // 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
@@ -29,7 +29,7 @@
 #include "MEDCouplingCorba.hxx"
 #include "MEDCouplingRefCountServant.hxx"
 
-namespace ParaMEDMEM
+namespace MEDCoupling
 {
   class MEDCouplingMesh;
   class MEDCouplingField;
@@ -39,8 +39,8 @@ namespace ParaMEDMEM
   {
   protected:
     MEDCouplingFieldServant(const MEDCouplingField *cppPointerOfMesh);
-    const MEDCouplingField *getPointer() const { return (const MEDCouplingField *)(_cpp_pointer); }
   public:
+    const MEDCouplingField *getPointer() const { return (const MEDCouplingField *)(_cpp_pointer); }
     static SALOME_MED::MEDCouplingMeshCorbaInterface_ptr BuildCorbaRefFromCppPointer(const MEDCouplingMesh *mesh);
   protected:
     SALOME_MED::MEDCouplingMeshCorbaInterface_ptr getMesh();