Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
further snake_case Actor (::this_actor remains)
[simgrid.git] / teshsuite / s4u / concurrent_rw / concurrent_rw.cpp
index 6872b3f..b53d921 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2008-2017. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2008-2018. 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. */
@@ -33,7 +33,7 @@ int main(int argc, char** argv)
   e.loadPlatform(argv[1]);
 
   for (int i = 0; i < 5; i++)
-    simgrid::s4u::Actor::createActor("host", simgrid::s4u::Host::by_name("bob"), host);
+    simgrid::s4u::Actor::create("host", simgrid::s4u::Host::by_name("bob"), host);
 
   e.run();
   XBT_INFO("Simulation time %g", e.getClock());