Salome HOME
Compilation under Windows
[tools/medcoupling.git] / src / ParaMEDMEMTest / ParaMEDMEMTest_MPIProcessorGroup.cxx
index 3c6fc3b257ce4d10866109aa845099ec14a6e64e..87a8b432b05a8e2e510eb0b75eafe6128bf73ad1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2015  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2020  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
@@ -34,7 +34,7 @@
 
 
 using namespace std;
-using namespace ParaMEDMEM;
+using namespace MEDCoupling;
  
 /*
  * Check methods defined in MPPIProcessorGroup.hxx
@@ -58,11 +58,9 @@ using namespace ParaMEDMEM;
 void ParaMEDMEMTest::testMPIProcessorGroup_constructor()
 {
   CommInterface comm_interface;
-  MPIProcessorGroup* group;
+  MPIProcessorGroup* group = new MPIProcessorGroup(comm_interface);;
   int size;
   MPI_Comm_size(MPI_COMM_WORLD, &size);
-
-  group= new MPIProcessorGroup(comm_interface);
   CPPUNIT_ASSERT_EQUAL(size,group->size());
   int size2;
   const MPI_Comm* communicator=group->getComm();