Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove explicit conversion to std::string when it's not required.
[simgrid.git] / src / smpi / include / smpi_request.hpp
index d63ed7b..ba3292d 100644 (file)
@@ -67,7 +67,7 @@ public:
   int tag() const { return tag_; }
   int flags() const { return flags_; }
   bool detached() const { return detached_; }
-  std::string name() const override { return std::string("MPI_Request"); }
+  std::string name() const override { return "MPI_Request"; }
   MPI_Datatype type() const { return type_; }
   void print_request(const char* message) const;
   void start();