X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fdebug%2Fexceptiontrace.cpp;h=fb72223a84df776ee7cbd30cc40bdf92ce0ff86f;hp=30df4b6f353718c687774878c04e0f4252b4e9b6;hb=20c897ece781e18ba54c41fd68e232ce566a938d;hpb=c8bf2d6c15893ccc9dbc4e04611b7229029f4808 diff --git a/source/debug/exceptiontrace.cpp b/source/debug/exceptiontrace.cpp index 30df4b6..fb72223 100644 --- a/source/debug/exceptiontrace.cpp +++ b/source/debug/exceptiontrace.cpp @@ -61,11 +61,11 @@ const Backtrace &get_exception_trace() } // namespace Msp #if defined(WITH_EXCEPTION_TRACE) && !defined(_WIN32) && defined(__GLIBC__) -extern "C" void __cxa_throw(void *exc, std::type_info *type, void (*dest) (void *)) +extern "C" void __cxa_throw(void *exc, type_info *type, void (*dest) (void *)) { if(trace_enabled) get_thread_backtrace() = Msp::Debug::Backtrace::create(); orig_cxa_throw(exc, type, dest); - std::terminate(); + terminate(); } #endif