Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
class names must be in CamelCase
[simgrid.git] / src / smpi / colls / allreduce / allreduce-rab2.cpp
index ac1e98f..ca9603b 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2014. The SimGrid Team.
+/* Copyright (c) 2013-2017. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -6,8 +6,9 @@
 
 #include "../colls_private.h"
 //#include <star-reduction.c>
-using namespace simgrid::smpi;
 
+namespace simgrid{
+namespace smpi{
 // this requires that count >= NP
 int Coll_allreduce_rab2::allreduce(void *sbuff, void *rbuff,
                                    int count, MPI_Datatype dtype,
@@ -83,3 +84,5 @@ int Coll_allreduce_rab2::allreduce(void *sbuff, void *rbuff,
 
   return MPI_SUCCESS;
 }
+}
+}