Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove xbt::args: use vector<string> instead
[simgrid.git] / include / simgrid / s4u / actor.hpp
index 9b38309..4f3a1a9 100644 (file)
@@ -8,7 +8,6 @@
 
 #include <atomic>
 #include <functional>
-#include <future>
 #include <memory>
 #include <stdexcept>
 #include <type_traits>
@@ -208,10 +207,12 @@ public:
 
   // Create actor from function name:
 
-  Actor(const char* name, s4u::Host *host, double killTime, const char* function, simgrid::xbt::args args);
+  Actor(const char* name, s4u::Host *host, double killTime,
+    const char* function, std::vector<std::string> args);
 
-  Actor(const char* name, s4u::Host *host, const char* function, simgrid::xbt::args args) :
-    Actor(name, host, -1.0, function, std::move(args)) {}
+  Actor(const char* name, s4u::Host *host, const char* function,
+      std::vector<std::string> args)
+    : Actor(name, host, -1.0, function, std::move(args)) {}
 
   /** Retrieves the actor that have the given PID (or NULL if not existing) */
   //static Actor *byPid(int pid); not implemented