]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
Enable C++0x/C++11 support
authorvsr <vsr@opencascade.com>
Fri, 16 Oct 2015 10:05:22 +0000 (14:05 +0400)
committervsr <vsr@opencascade.com>
Thu, 29 Oct 2015 10:40:17 +0000 (13:40 +0300)
src/MEDCoupling/MEDCouplingFieldDouble.hxx
src/MEDLoader/MEDFileMeshLL.cxx

index ee9a2506a23b3116e415a4aab445af33872b3e41..065718a65e70cf79cf80cdb5b3ae4b96851c9f3b 100644 (file)
@@ -197,12 +197,13 @@ namespace ParaMEDMEM
     MEDCOUPLING_EXPORT const MEDCouplingTimeDiscretization *getTimeDiscretizationUnderGround() const { return _time_discr; }
     MEDCOUPLING_EXPORT MEDCouplingTimeDiscretization *getTimeDiscretizationUnderGround() { return _time_discr; }
     MEDCOUPLING_EXPORT void reprQuickOverview(std::ostream& stream) const;
+  protected:
+    ~MEDCouplingFieldDouble();
   private:
     MEDCouplingFieldDouble(TypeOfField type, TypeOfTimeDiscretization td);
     MEDCouplingFieldDouble(const MEDCouplingFieldTemplate& ft, TypeOfTimeDiscretization td);
     MEDCouplingFieldDouble(const MEDCouplingFieldDouble& other, bool deepCopy);
     MEDCouplingFieldDouble(NatureOfField n, MEDCouplingTimeDiscretization *td, MEDCouplingFieldDiscretization *type);
-    ~MEDCouplingFieldDouble();
   private:
     MEDCouplingTimeDiscretization *_time_discr;
   };
index 218f7bb724c2c05df6dc657583f41f7ff3e31b3b..cf6177bebd19549aab5fe0654c51dfa18426def3 100644 (file)
@@ -128,7 +128,7 @@ double MEDFileMeshL2::CheckMeshTimeStep(med_idt fid, const std::string& mName, i
   for(int i=0;i<nstep;i++)
     {
       MEDFILESAFECALLERRD0(MEDmeshComputationStepInfo,(fid,mName.c_str(),i+1,&numdt,&numit,&dtt));
-      p[i]=std::make_pair<int,int>(numdt,numit);
+      p[i]=std::make_pair(numdt,numit);
       found=(numdt==dt) && (numit==numit);
     }
   if(!found)