From e05469392eb036847555925060751c3be232d53b Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Wed, 8 Mar 2017 20:06:01 +0000 Subject: Fix PR32183 - Wrap GCC exception implementation in missing namespace std llvm-svn: 297306 --- libcxx/src/support/runtime/exception_pointer_glibcxx.ipp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libcxx/src/support/runtime/exception_pointer_glibcxx.ipp') diff --git a/libcxx/src/support/runtime/exception_pointer_glibcxx.ipp b/libcxx/src/support/runtime/exception_pointer_glibcxx.ipp index 30bd6b61f08..9d20dfe4862 100644 --- a/libcxx/src/support/runtime/exception_pointer_glibcxx.ipp +++ b/libcxx/src/support/runtime/exception_pointer_glibcxx.ipp @@ -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 -- cgit v1.2.3