/* 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. */
/* 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. */
XBT_INFO("process %d is writing!", id);
storage->write(3000000);
XBT_INFO("process %d goes to sleep for %d seconds", id, id);
XBT_INFO("process %d is writing!", id);
storage->write(3000000);
XBT_INFO("process %d goes to sleep for %d seconds", id, id);
- simgrid::s4u::Engine* e = new simgrid::s4u::Engine(&argc, argv);
- e->loadPlatform(argv[1]);
+ simgrid::s4u::Engine e(&argc, argv);
+ e.loadPlatform(argv[1]);