Salome HOME
Copyright update 2022
[modules/med.git] / src / MEDCouplingCorba / MEDCouplingFieldServant.hxx
index 9fc758a244b987eb04f3a7982345bd47127c0130..08dcd054706b6e74b003393e18ddbd758af880ae 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2015  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
@@ -39,8 +39,8 @@ namespace MEDCoupling
   {
   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();