summaryrefslogtreecommitdiffstats
path: root/libcxx/include/new
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include/new')
-rw-r--r--libcxx/include/new2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/new b/libcxx/include/new
index 9003d351c31..6cc5c23b9e6 100644
--- a/libcxx/include/new
+++ b/libcxx/include/new
@@ -81,7 +81,7 @@ public:
void __throw_bad_alloc(); // not in C++ spec
-struct nothrow_t {};
+struct _LIBCPP_VISIBLE nothrow_t {};
extern _LIBCPP_VISIBLE const nothrow_t nothrow;
typedef void (*new_handler)();
_LIBCPP_VISIBLE new_handler set_new_handler(new_handler) throw();
OpenPOWER on IntegriCloud