Fix one more usage of _LIBCPP_HAS_NO_EXCEPTIONS
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@268839 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -50,7 +50,7 @@ public:
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void* do_allocate(size_t, size_t) {
|
virtual void* do_allocate(size_t, size_t) {
|
||||||
#ifndef _LIBCPP_HAS_NO_EXCEPTIONS
|
#ifndef _LIBCPP_NO_EXCEPTIONS
|
||||||
throw std::bad_alloc();
|
throw std::bad_alloc();
|
||||||
#else
|
#else
|
||||||
abort();
|
abort();
|
||||||
|
|||||||
Reference in New Issue
Block a user