X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/611d822b02f836d7abe031cced6adc4281ef4356..8c416e92254512408c1d0ce729e8d3cf82ec9938:/examples/s4u/actor-create/s4u-actor-create.cpp diff --git a/examples/s4u/actor-create/s4u-actor-create.cpp b/examples/s4u/actor-create/s4u-actor-create.cpp index 3e3d1e9b39..5b5c71bdde 100644 --- a/examples/s4u/actor-create/s4u-actor-create.cpp +++ b/examples/s4u/actor-create/s4u-actor-create.cpp @@ -91,7 +91,7 @@ int main(int argc, char** argv) simgrid::s4u::Engine e(&argc, argv); /* Then you should load a platform file, describing your simulated platform */ - e.loadPlatform("../../platforms/small_platform.xml"); + e.load_platform("../../platforms/small_platform.xml"); /* And now you have to ask SimGrid to actually start your actors. * @@ -109,7 +109,7 @@ int main(int argc, char** argv) /* The third way to start your actors is to use a deployment file. */ e.registerFunction("receiver"); // You first have to register the actor as with the second approach - e.loadDeployment("s4u-actor-create_d.xml"); // And then, you load the deployment file + e.load_deployment("s4u-actor-create_d.xml"); // And then, you load the deployment file /* Once every actors are started in the engine, the simulation can start */ e.run();