Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
ok, I stop trying to please sonar.
[simgrid.git] / src / smpi / colls / allreduce / allreduce-rab1.cpp
index 120abeb..3564a46 100644 (file)
@@ -6,8 +6,8 @@
 
 #include "../colls_private.h"
 //#include <star-reduction.c>
-using namespace simgrid::smpi;
-
+namespace simgrid{
+namespace smpi{
 // NP pow of 2 for now
 int Coll_allreduce_rab1::allreduce(void *sbuff, void *rbuff,
                                    int count, MPI_Datatype dtype,
@@ -109,3 +109,5 @@ int Coll_allreduce_rab1::allreduce(void *sbuff, void *rbuff,
 
   return MPI_SUCCESS;
 }
+}
+}