X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8bc85164acb335cf909052b966b2ee4932e06cd7..69fa210e4b6249f5bb59170c4bc78bb389cd4e57:/src/smpi/include/smpi_topo.hpp diff --git a/src/smpi/include/smpi_topo.hpp b/src/smpi/include/smpi_topo.hpp index e7354c6fa8..e46d67e55a 100644 --- a/src/smpi/include/smpi_topo.hpp +++ b/src/smpi/include/smpi_topo.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2010-2020. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2010-2023. 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. */ @@ -6,14 +6,12 @@ #ifndef SMPI_TOPO_HPP_INCLUDED #define SMPI_TOPO_HPP_INCLUDED -#include "smpi_comm.hpp" #include "smpi_status.hpp" #include -typedef std::shared_ptr MPI_Topology; +using MPI_Topology = std::shared_ptr; -namespace simgrid{ -namespace smpi{ +namespace simgrid::smpi { class Topo { MPI_Comm comm_ = MPI_COMM_NULL; @@ -56,8 +54,6 @@ class Topo_Dist_Graph: public Topo { std::vector out_weights_; }; -} -} - +} // namespace simgrid::smpi #endif