Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Concatenate nested namespaces (sonar).
[simgrid.git] / src / smpi / colls / alltoall / alltoall-rdb.cpp
index 7a78184..ed942b9 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2020. The SimGrid Team.
+/* Copyright (c) 2013-2022. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -28,8 +28,7 @@
  * Author: MPICH / slightly modified by Ahmad Faraj.
 
  ****************************************************************************/
-namespace simgrid{
-namespace smpi{
+namespace simgrid::smpi {
 int alltoall__rdb(const void *send_buff, int send_count,
                   MPI_Datatype send_type,
                   void *recv_buff, int recv_count,
@@ -154,5 +153,4 @@ int alltoall__rdb(const void *send_buff, int send_count,
   smpi_free_tmp_buffer(tmp_buff);
   return MPI_SUCCESS;
 }
-}
-}
+} // namespace simgrid::smpi