commit | fd465fe5b5165d390a1de7a8d168b02a2c2535d3 | [log] [tgz] |
---|---|---|
author | Eric Fiselier <eric@efcs.ca> | Wed Oct 29 23:14:53 2014 +0000 |
committer | Eric Fiselier <eric@efcs.ca> | Wed Oct 29 23:14:53 2014 +0000 |
tree | b0117fa4206bc39968f053c418a767b19d2f5c34 | |
parent | 76b08d584bd8a72d2420cac7f3e306abaa2cb36c [diff] [blame] |
libcxxrt now implements bad_array_new_length and need to gaurd against multiple defines. Patch from Baptiste Daroussin. llvm-svn: 220882
diff --git a/libcxx/src/new.cpp b/libcxx/src/new.cpp index 3b7c341..2fb6e7f 100644 --- a/libcxx/src/new.cpp +++ b/libcxx/src/new.cpp
@@ -192,8 +192,6 @@ #endif // !__GLIBCXX__ -#endif //LIBCXXRT - bad_array_new_length::bad_array_new_length() _NOEXCEPT { } @@ -202,6 +200,8 @@ { } +#endif //LIBCXXRT + const char* bad_array_length::what() const _NOEXCEPT {