forked from OSchip/llvm-project
Fix PR32183 - Wrap GCC exception implementation in missing namespace std
llvm-svn: 297306
This commit is contained in:
parent
fcd208fdb3
commit
e05469392e
libcxx/src/support/runtime
|
@ -35,4 +35,4 @@ bad_typeid::bad_typeid() _NOEXCEPT
|
|||
{
|
||||
}
|
||||
|
||||
} // namespace
|
||||
} // namespace std
|
||||
|
|
|
@ -17,6 +17,8 @@
|
|||
// stable ABI), and its rethrow_exception(std::__exception_ptr::exception_ptr)
|
||||
// function.
|
||||
|
||||
namespace std {
|
||||
|
||||
namespace __exception_ptr
|
||||
{
|
||||
|
||||
|
@ -72,3 +74,5 @@ void rethrow_exception(exception_ptr p)
|
|||
{
|
||||
rethrow_exception(reinterpret_cast<__exception_ptr::exception_ptr&>(p));
|
||||
}
|
||||
|
||||
} // namespace std
|
||||
|
|
Loading…
Reference in New Issue