Fix PR32183 - Wrap GCC exception implementation in missing namespace std
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@297306 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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)
|
// stable ABI), and its rethrow_exception(std::__exception_ptr::exception_ptr)
|
||||||
// function.
|
// function.
|
||||||
|
|
||||||
|
namespace std {
|
||||||
|
|
||||||
namespace __exception_ptr
|
namespace __exception_ptr
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -72,3 +74,5 @@ void rethrow_exception(exception_ptr p)
|
|||||||
{
|
{
|
||||||
rethrow_exception(reinterpret_cast<__exception_ptr::exception_ptr&>(p));
|
rethrow_exception(reinterpret_cast<__exception_ptr::exception_ptr&>(p));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
} // namespace std
|
||||||
|
|||||||
Reference in New Issue
Block a user