X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c0acb124f78b614e93e14413b3f83c173c2c77f8..cf12502343ef78873458e42ab5902a4ab226d8f5:/src/mc/mc_set.cpp?ds=sidebyside diff --git a/src/mc/mc_set.cpp b/src/mc/mc_set.cpp index b04c1ff54b..1ab9584495 100644 --- a/src/mc/mc_set.cpp +++ b/src/mc/mc_set.cpp @@ -12,7 +12,7 @@ typedef std::set* mc_address_set_t; 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); @@ -20,7 +20,7 @@ mc_address_set_t mc_address_set_new() { return new std::set(); } -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; }