Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simplify link events and rename getRootContainer to getRoot
[simgrid.git] / src / instr / instr_config.cpp
index d8a3a82..5333849 100644 (file)
@@ -139,9 +139,9 @@ int TRACE_end()
     TRACE_last_timestamp_to_dump = surf_get_clock();
     TRACE_paje_dump_buffer(true);
 
-    simgrid::instr::Type* root_type = simgrid::instr::Container::getRootContainer()->type_;
+    simgrid::instr::Type* root_type = simgrid::instr::Container::getRoot()->type_;
     /* destroy all data structures of tracing (and free) */
-    delete simgrid::instr::Container::getRootContainer();
+    delete simgrid::instr::Container::getRoot();
     delete root_type;
 
     /* close the trace files */