Add a couple more std-qualifers.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@121002 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d42c4beeff
commit
7a0248d2d7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user