diff options
Diffstat (limited to 'libcxxabi/src/cxa_exception.cpp')
-rw-r--r-- | libcxxabi/src/cxa_exception.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxxabi/src/cxa_exception.cpp b/libcxxabi/src/cxa_exception.cpp index f1679bb66fe2..3e20c16d95d8 100644 --- a/libcxxabi/src/cxa_exception.cpp +++ b/libcxxabi/src/cxa_exception.cpp @@ -194,8 +194,8 @@ __cxa_throw(void * thrown_exception, std::type_info * tinfo, void (*dest)(void * __cxa_eh_globals *globals = __cxa_get_globals(); __cxa_exception *exception = exception_from_thrown_object(thrown_exception); - exception->unexpectedHandler = __cxxabiapple::__cxa_unexpected_handler; - exception->terminateHandler = __cxxabiapple::__cxa_terminate_handler; + exception->unexpectedHandler = std::get_unexpected(); + exception->terminateHandler = std::get_terminate(); exception->exceptionType = tinfo; exception->exceptionDestructor = dest; setExceptionClass(&exception->unwindHeader); |