Salome HOME
Copyright update 2022
[modules/med.git] / src / MEDCouplingCorba / MEDCouplingFieldServant.hxx
index 655944a98d88d56820a134210cd7159f1b539e82..08dcd054706b6e74b003393e18ddbd758af880ae 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2016  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
@@ -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();