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
|
void
|
||||||
std::unexpected()
|
std::unexpected()
|
||||||
{
|
{
|
||||||
(*get_unexpected())();
|
(*std::get_unexpected())();
|
||||||
// unexpected handler should not return
|
// unexpected handler should not return
|
||||||
std::terminate();
|
std::terminate();
|
||||||
}
|
}
|
||||||
@ -62,7 +62,7 @@ std::terminate()
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
#endif // _LIBCPP_NO_EXCEPTIONS
|
#endif // _LIBCPP_NO_EXCEPTIONS
|
||||||
(*get_terminate())();
|
(*std::get_terminate())();
|
||||||
// handler should not return
|
// handler should not return
|
||||||
::abort ();
|
::abort ();
|
||||||
#ifndef _LIBCPP_NO_EXCEPTIONS
|
#ifndef _LIBCPP_NO_EXCEPTIONS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user