Salome HOME
Extra deps update
[tools/medcoupling.git] / src / ParaMEDLoader / ParaMEDLoader.cxx
index c8f205732a0f0ce80ca4901844b68f9f8515fbe4..997213baf408c454c725816ceac1e809bb37dfec 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2015  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2016  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
@@ -25,6 +25,7 @@
 #include "MEDCouplingUMesh.hxx"
 
 #include <fstream>
+#include <sstream>
 
 using namespace MEDCoupling;
 
@@ -47,7 +48,7 @@ void ParaMEDLoader::WriteParaMesh(const char *fileName, MEDCoupling::ParaMESH *m
     }
   if(myRank==0)
     WriteMasterFile(fileName,fileNames,mesh->getCellMesh()->getName().c_str());
-  MEDLoader::WriteUMesh(fileNames[myRank].c_str(),dynamic_cast<MEDCouplingUMesh *>(mesh->getCellMesh()),true);
+  WriteUMesh(fileNames[myRank].c_str(),dynamic_cast<MEDCouplingUMesh *>(mesh->getCellMesh()),true);
 }
 
 /*!