-/* Copyright (c) 2010-2018. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2010-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. */
my_jedule = new simgrid::jedule::Jedule();
- jed_container_t root_container = new simgrid::jedule::Container(std::string(root_comp->get_cname()));
+ jed_container_t root_container = new simgrid::jedule::Container(root_comp->get_name());
root_container->create_hierarchy(root_comp);
my_jedule->root_container_ = root_container;
}