Salome HOME
Updated copyright comment
[modules/med.git] / src / MEDCouplingCorba / Client / DataArrayIntClient.cxx
index 7a36eb6ad805cc44709dd0d5fa09db5952d32bc6..986c21cb364963c918c076fb0784a237ae08debf 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D
+// Copyright (C) 2007-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
 // 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
 //
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+// Author : Anthony Geay (CEA/DEN)
 
 #include "DataArrayIntClient.hxx"
 #include "MEDCouplingMemArray.hxx"
 
 #include <vector>
 
-using namespace ParaMEDMEM;
+using namespace MEDCoupling;
 
 DataArrayInt *DataArrayIntClient::New(SALOME_MED::DataArrayIntCorbaInterface_ptr dadPtr)
 {
@@ -33,7 +34,7 @@ DataArrayInt *DataArrayIntClient::New(SALOME_MED::DataArrayIntCorbaInterface_ptr
   dadPtr->getTinyInfo(tinyL,tinyS);
   DataArrayInt *ret=DataArrayInt::New();
   int tinyLgth=tinyL->length();
-  std::vector<int> v1(tinyLgth);
+  std::vector<mcIdType> v1(tinyLgth);
   for(int j=0;j<tinyLgth;j++)
     v1[j]=(*tinyL)[j];
   delete tinyL; tinyL=0;