summaryrefslogtreecommitdiffstats
path: root/libcxx
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx')
-rw-r--r--libcxx/src/support/runtime/exception_glibcxx.ipp2
-rw-r--r--libcxx/src/support/runtime/exception_pointer_glibcxx.ipp4
2 files changed, 5 insertions, 1 deletions
diff --git a/libcxx/src/support/runtime/exception_glibcxx.ipp b/libcxx/src/support/runtime/exception_glibcxx.ipp
index 365dc40a7ea..0f78932f6f9 100644
--- a/libcxx/src/support/runtime/exception_glibcxx.ipp
+++ b/libcxx/src/support/runtime/exception_glibcxx.ipp
@@ -35,4 +35,4 @@ bad_typeid::bad_typeid() _NOEXCEPT
{
}
-} // namespace
+} // namespace std
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
OpenPOWER on IntegriCloud