A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ns3: live with the fact that sometimes finished_ becomes true with remains is still >0
[simgrid.git]
/
src
/
surf
/
surf_interface.cpp
diff --git
a/src/surf/surf_interface.cpp
b/src/surf/surf_interface.cpp
index 9c8f2301c164d2092fd202b61e679513e8584ac2..5216e3c1a0c160314df0d913aec654e83e127b12 100644
(file)
--- a/
src/surf/surf_interface.cpp
+++ b/
src/surf/surf_interface.cpp
@@
-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);
}