X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/45c3f1cfee86fb48c96d53f8267f99b6db6e3d7a..0700b488178346d3cccc454f641a7155c6ff6026:/src/mc/mc_set.cpp diff --git a/src/mc/mc_set.cpp b/src/mc/mc_set.cpp index b04c1ff54b..03613c4bc0 100644 --- a/src/mc/mc_set.cpp +++ b/src/mc/mc_set.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2013. The SimGrid Team. +/* Copyright (c) 2007-2014. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -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; }