Salome HOME
Make MEDReader compilable standalone. make test is still not working in standalone...
[modules/paravis.git] / src / Plugins / ParaSMESHCorba / vtkParaSMESHCorbaSource.cxx
index f0cd3c5f85d04fd2df32304106cb3a5cfde1f955..315aa1f7bd8807fb6a30d2e4ece5affa0aae6241 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2010-2014  CEA/DEN, EDF R&D
+// Copyright (C) 2010-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
@@ -32,6 +32,8 @@
 #include "SMDS_UnstructuredGrid.hxx"
 #include "SMESH_Mesh.hh"
 
+#include <algorithm>
+
 vtkStandardNewMacro(vtkParaSMESHCorbaSource);
 
 void *vtkParaSMESHCorbaSource::Orb=0;
@@ -67,7 +69,7 @@ void vtkParaSMESHCorbaSource::SetIORCorba(char *ior) {
     return;
   int length=strlen(ior);
   IOR.resize(length+1);
-  vtksys_stl::copy(ior,ior+length+1,&IOR[0]);
+  std::copy(ior,ior+length+1,&IOR[0]);
   this->Modified();
 }