Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines for 2023.
[simgrid.git] / teshsuite / s4u / dag-incomplete-simulation / dag-incomplete-simulation.cpp
index e1823d6..1bd94af 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2007-2021. The SimGrid Team.
+/* Copyright (c) 2007-2023. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -37,8 +37,8 @@ int main(int argc, char** argv)
   C->add_successor(D);
 
   Init->set_host(host);
-  A->set_from(host)->set_to(host);
-  D->set_from(host)->set_to(host);
+  A->set_source(host)->set_destination(host);
+  D->set_source(host)->set_destination(host);
 
   /* let's launch the simulation! */
   e.run();