X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c6374915fc9c74a89f67428ba910e204d2daa516..4a8bc21517c2e7759a0036d879338f84ed6bf56e:/src/surf/surf_interface.cpp?ds=sidebyside diff --git a/src/surf/surf_interface.cpp b/src/surf/surf_interface.cpp index 40a5736ea0..875c7cca5c 100644 --- a/src/surf/surf_interface.cpp +++ b/src/surf/surf_interface.cpp @@ -31,7 +31,6 @@ std::vector all_existing_models; /* to destro simgrid::trace_mgr::future_evt_set future_evt_set; std::vector surf_path; -std::vector host_that_restart; /** set of hosts for which one want to be notified if they ever restart. */ std::set watched_hosts; extern std::map storage_types; @@ -148,7 +147,7 @@ std::ifstream* surf_ifsopen(std::string name) xbt_assert(not name.empty()); std::ifstream* fs = new std::ifstream(); - if (is_absolute_file_path(name.c_str())) { /* don't mess with absolute file names */ + if (is_absolute_file_path(name)) { /* don't mess with absolute file names */ fs->open(name.c_str(), std::ifstream::in); }