Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Snake casing simgrid::xbt::Path.
[simgrid.git] / src / surf / xml / surfxml_sax_cb.cpp
index 9e8f534..7719224 100644 (file)
@@ -960,7 +960,7 @@ void surf_parse_open(const char *file)
   xbt_assert(file, "Cannot parse the nullptr file. Bypassing the parser is strongly deprecated nowadays.");
 
   surf_parsed_filename = file;
-  std::string dir      = simgrid::xbt::Path(file).getDirname();
+  std::string dir      = simgrid::xbt::Path(file).get_dir_name();
   surf_path.push_back(dir);
 
   surf_file_to_parse = surf_fopen(file, "r");