libcxxrt defines bad_array_new_length::what() so move that into a conditional compilation block
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@221025 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3fdac97f2a
commit
f53135f39b
12
src/new.cpp
12
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
|
#endif //LIBCXXRT
|
||||||
|
|
||||||
const char*
|
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
|
#endif // _LIBCPPABI_VERSION
|
||||||
|
|
||||||
#ifndef LIBSTDCXX
|
#ifndef LIBSTDCXX
|
||||||
|
Loading…
x
Reference in New Issue
Block a user