X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e94d23a9338ae2aab92cf1304dc19494780778b3..f1abef39a34e38493fe03586e8e3384ca32ad89d:/src/xbt/xbt_main.cpp diff --git a/src/xbt/xbt_main.cpp b/src/xbt/xbt_main.cpp index 4129fc1846..5fe38453b0 100644 --- a/src/xbt/xbt_main.cpp +++ b/src/xbt/xbt_main.cpp @@ -135,13 +135,13 @@ void xbt_init(int *argc, char **argv) /* these two functions belong to xbt/sysdep.h, which have no corresponding .c file */ /** @brief like xbt_free, but you can be sure that it is a function */ -void xbt_free_f(void* p) noexcept(noexcept(std::free)) +void xbt_free_f(void* p) noexcept(noexcept(::free)) { xbt_free(p); } /** @brief should be given a pointer to pointer, and frees the second one */ -void xbt_free_ref(void* d) noexcept(noexcept(std::free)) +void xbt_free_ref(void* d) noexcept(noexcept(::free)) { xbt_free(*(void**)d); }