Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of framagit.org:simgrid/simgrid
[simgrid.git] / src / smpi / colls / bcast / bcast-flattree.cpp
index b77a186..7178f2a 100644 (file)
@@ -1,11 +1,12 @@
-/* Copyright (c) 2013-2014. The SimGrid Team.
+/* Copyright (c) 2013-2019. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#include "../colls_private.h"
-
+#include "../colls_private.hpp"
+namespace simgrid{
+namespace smpi{
 int
 Coll_bcast_flattree::bcast(void *buff, int count, MPI_Datatype data_type,
                                int root, MPI_Comm comm)
@@ -41,3 +42,6 @@ Coll_bcast_flattree::bcast(void *buff, int count, MPI_Datatype data_type,
   }
   return MPI_SUCCESS;
 }
+
+}
+}