summaryrefslogtreecommitdiffstats
path: root/libcxx/src
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/src')
-rw-r--r--libcxx/src/new.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/libcxx/src/new.cpp b/libcxx/src/new.cpp
index 2fb6e7fa8a4..2b37601cb18 100644
--- a/libcxx/src/new.cpp
+++ b/libcxx/src/new.cpp
@@ -200,6 +200,12 @@ bad_array_new_length::~bad_array_new_length() _NOEXCEPT
{
}
+const char*
+bad_array_new_length::what() const _NOEXCEPT
+{
+ return "bad_array_new_length";
+}
+
#endif //LIBCXXRT
const char*
@@ -216,12 +222,6 @@ bad_array_length::~bad_array_length() _NOEXCEPT
{
}
-const char*
-bad_array_new_length::what() const _NOEXCEPT
-{
- return "bad_array_new_length";
-}
-
#endif // _LIBCPPABI_VERSION
#ifndef LIBSTDCXX
OpenPOWER on IntegriCloud