Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
ns3: live with the fact that sometimes finished_ becomes true with remains is still >0
[simgrid.git] / src / surf / surf_interface.cpp
index 9c8f2301c164d2092fd202b61e679513e8584ac2..5216e3c1a0c160314df0d913aec654e83e127b12 100644 (file)
@@ -147,7 +147,7 @@ std::ifstream* surf_ifsopen(const std::string& name)
 {
   xbt_assert(not name.empty());
 
-  std::ifstream* fs = new std::ifstream();
+  auto* fs = new std::ifstream();
   if (is_absolute_file_path(name)) { /* don't mess with absolute file names */
     fs->open(name.c_str(), std::ifstream::in);
   }