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:
Eric Fiselier
2017-03-08 20:06:01 +00:00
parent 6f8ab3ed89
commit f1dab6865e
2 changed files with 5 additions and 1 deletions

View File

@@ -35,4 +35,4 @@ bad_typeid::bad_typeid() _NOEXCEPT
{ {
} }
} // namespace } // namespace std

View File

@@ -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