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] Process nested scopes DWARF informations
[simgrid.git]
/
src
/
mc
/
mc_set.cpp
diff --git
a/src/mc/mc_set.cpp
b/src/mc/mc_set.cpp
index
b04c1ff
..
1ab9584
100644
(file)
--- a/
src/mc/mc_set.cpp
+++ b/
src/mc/mc_set.cpp
@@
-12,7
+12,7
@@
typedef std::set<const void*>* mc_address_set_t;
extern "C" {
mc_address_set_t mc_address_set_new();
extern "C" {
mc_address_set_t mc_address_set_new();
-
mc_address_set_t
mc_address_set_free(mc_address_set_t* p);
+
void
mc_address_set_free(mc_address_set_t* p);
void mc_address_add(mc_address_set_t p, const void* value);
bool mc_address_test(mc_address_set_t p, const void* value);
void mc_address_add(mc_address_set_t p, const void* value);
bool mc_address_test(mc_address_set_t p, const void* value);
@@
-20,7
+20,7
@@
mc_address_set_t mc_address_set_new() {
return new std::set<const void*>();
}
return new std::set<const void*>();
}
-
mc_address_set_t
mc_address_set_free(mc_address_set_t* p) {
+
void
mc_address_set_free(mc_address_set_t* p) {
delete *p;
*p = NULL;
}
delete *p;
*p = NULL;
}