Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use 'using-declarations' to inherit constructors.
[simgrid.git] / include / simgrid / smpi / replay.hpp
index 4da7a7e..4b27c49 100644 (file)
@@ -312,13 +312,13 @@ public:
 
 class GatherAction : public ReplayAction<GatherArgParser> {
 public:
-  explicit GatherAction(const std::string& name) : ReplayAction(name) {}
+  using ReplayAction::ReplayAction;
   void kernel(xbt::ReplayAction& action) override;
 };
 
 class GatherVAction : public ReplayAction<GatherVArgParser> {
 public:
-  explicit GatherVAction(const std::string& name) : ReplayAction(name) {}
+  using ReplayAction::ReplayAction;
   void kernel(xbt::ReplayAction& action) override;
 };