summaryrefslogtreecommitdiffstats
path: root/libcxx/src/exception.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/src/exception.cpp')
-rw-r--r--libcxx/src/exception.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/src/exception.cpp b/libcxx/src/exception.cpp
index 6c389c28082..4d4caf4b5ce 100644
--- a/libcxx/src/exception.cpp
+++ b/libcxx/src/exception.cpp
@@ -38,7 +38,7 @@ std::get_unexpected() throw()
void
std::unexpected()
{
- (*get_unexpected())();
+ (*std::get_unexpected())();
// unexpected handler should not return
std::terminate();
}
@@ -62,7 +62,7 @@ std::terminate()
try
{
#endif // _LIBCPP_NO_EXCEPTIONS
- (*get_terminate())();
+ (*std::get_terminate())();
// handler should not return
::abort ();
#ifndef _LIBCPP_NO_EXCEPTIONS
OpenPOWER on IntegriCloud