X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ea10e88fd41a11386d9e3868d72ab8cb933a4292..4c753f8d4cabd4104f3f7109823f16be2ebdcce3:/src/smpi/include/smpi_win.hpp diff --git a/src/smpi/include/smpi_win.hpp b/src/smpi/include/smpi_win.hpp index 339b3c2b57..6bcab2d3c2 100644 --- a/src/smpi/include/smpi_win.hpp +++ b/src/smpi/include/smpi_win.hpp @@ -16,8 +16,7 @@ #include #include -namespace simgrid{ -namespace smpi{ +namespace simgrid::smpi { class Win : public F2C, public Keyval { void* base_; @@ -57,7 +56,7 @@ public: int attach (void *base, MPI_Aint size); int detach (const void *base); void get_name(char* name, int* length) const; - std::string name() const override {return name_.empty() ? std::string("MPI_Win") : name_;} + std::string name() const override { return name_.empty() ? "MPI_Win" : name_; } void get_group( MPI_Group* group); void set_name(const char* name); int rank() const; @@ -102,8 +101,6 @@ public: void set_errhandler( MPI_Errhandler errhandler); }; - -} -} +} // namespace simgrid::smpi #endif