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
[mc] Use C++ ctor/new/delete for Pair
[simgrid.git]
/
src
/
mc
/
mc_global.cpp
diff --git
a/src/mc/mc_global.cpp
b/src/mc/mc_global.cpp
index
92e863c
..
898da3f
100644
(file)
--- a/
src/mc/mc_global.cpp
+++ b/
src/mc/mc_global.cpp
@@
-436,7
+436,7
@@
void dump_stack_liveness(xbt_fifo_t stack)
{
simgrid::mc::Pair* pair;
while ((pair = (simgrid::mc::Pair*) xbt_fifo_pop(stack)) != nullptr)
{
simgrid::mc::Pair* pair;
while ((pair = (simgrid::mc::Pair*) xbt_fifo_pop(stack)) != nullptr)
-
simgrid::mc::pair_delete(pair)
;
+
delete pair
;
}
}
}
}