-/* Copyright (c) 2007-2018. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2007-2019. The SimGrid Team. All rights reserved. */
/* 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. */
static void wizard()
{
- simgrid::s4u::Host* fafard = simgrid::s4u::Host::by_name("Fafard");
+ const simgrid::s4u::Host* fafard = simgrid::s4u::Host::by_name("Fafard");
simgrid::s4u::Host* ginette = simgrid::s4u::Host::by_name("Ginette");
simgrid::s4u::Host* boivin = simgrid::s4u::Host::by_name("Boivin");
- XBT_INFO("I'm a wizard! I can run a task on the Fafard host from the Ginette one! Look!");
+ XBT_INFO("I'm a wizard! I can run a task on the Ginette host from the Fafard one! Look!");
simgrid::s4u::ExecPtr exec = simgrid::s4u::this_actor::exec_init(48.492e6);
exec->set_host(ginette);
exec->start();