Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
move exec_init and exec_async to the this_actor namespace
[simgrid.git] / include / simgrid / s4u / Host.hpp
index 6913403..6743001 100644 (file)
@@ -13,7 +13,6 @@
 #include "xbt/Extendable.hpp"
 #include "xbt/signal.hpp"
 #include "xbt/string.hpp"
-#include "xbt/swag.h"
 
 #include "simgrid/forward.h"
 #include "simgrid/s4u/forward.hpp"
@@ -115,7 +114,7 @@ public:
   void execute(double flops);
 
 private:
-  simgrid::xbt::string name_ = "noname";
+  simgrid::xbt::string name_{"noname"};
   std::unordered_map<std::string, Storage*>* mounts = nullptr; // caching
 
 public: