Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Replace deprecated method.
[simgrid.git] / src / instr / jedule / jedule_sd_binding.cpp
index 751dd3b..33497fa 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010-2017. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2010-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. */
@@ -28,7 +28,7 @@ void jedule_log_sd_event(SD_task_t task)
 
 void jedule_sd_init()
 {
-  sg_netzone_t root_comp = simgrid::s4u::Engine::getInstance()->getNetRoot();
+  sg_netzone_t root_comp = simgrid::s4u::Engine::get_instance()->getNetRoot();
   XBT_DEBUG("root name %s\n", root_comp->get_cname());
 
   my_jedule = new simgrid::jedule::Jedule();