diff options
Diffstat (limited to 'libcxx/src/exception.cpp')
-rw-r--r-- | libcxx/src/exception.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/src/exception.cpp b/libcxx/src/exception.cpp index 062114c..6c389c2 100644 --- a/libcxx/src/exception.cpp +++ b/libcxx/src/exception.cpp @@ -38,7 +38,7 @@ std::get_unexpected() throw() void std::unexpected() { - (*__unexpected_handler)(); + (*get_unexpected())(); // unexpected handler should not return std::terminate(); } @@ -62,7 +62,7 @@ std::terminate() try { #endif // _LIBCPP_NO_EXCEPTIONS - (*__terminate_handler)(); + (*get_terminate())(); // handler should not return ::abort (); #ifndef _LIBCPP_NO_EXCEPTIONS |