X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/528fa2ce6be027b5428d122666ffc37706155449..64916baf9d485ba6a2546bf79c948c591a233465:/src/xbt/backtrace_dummy.cpp diff --git a/src/xbt/backtrace_dummy.cpp b/src/xbt/backtrace_dummy.cpp index 8d5c57aab1..439686cebe 100644 --- a/src/xbt/backtrace_dummy.cpp +++ b/src/xbt/backtrace_dummy.cpp @@ -8,15 +8,9 @@ #include "xbt/ex.h" #include "src/xbt_modinter.h" +#include "src/xbt/ex_interface.h" -/* Module creation/destruction */ -void xbt_backtrace_preinit(void) -{ -} - -void xbt_backtrace_postexit(void) -{ -} +#include /* create a backtrace in the given exception */ size_t xbt_backtrace_current(xbt_backtrace_location_t* loc, size_t count) @@ -32,10 +26,10 @@ namespace simgrid { namespace xbt { std::vector resolveBacktrace( - xbt_backtrace_location_t* loc, std::size_t count) + xbt_backtrace_location_t const* loc, std::size_t count) { - return [};] + return std::vector(); } } -} \ No newline at end of file +}