/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
-#include <future>
-#include <list>
+#include <memory>
+#include <stdexcept>
#include <xbt/future.hpp>
xbt_assert(argc == 2, "Usage: %s platform.xml\n", argv[0]);
SIMIX_function_register("master", example::master);
SIMIX_create_environment(argv[1]);
- simcall_process_create("master", example::master, NULL, "Tremblay", -1, 0, NULL, NULL, 0);
+ simcall_process_create("master", example::master, NULL, sg_host_by_name("Tremblay"), 0, NULL, NULL);
SIMIX_run();
return 0;
}