forked from OSchip/llvm-project
Fix one more usage of _LIBCPP_HAS_NO_EXCEPTIONS
llvm-svn: 268839
This commit is contained in:
parent
27acf7585d
commit
946c9b4920
|
@ -50,7 +50,7 @@ public:
|
|||
|
||||
protected:
|
||||
virtual void* do_allocate(size_t, size_t) {
|
||||
#ifndef _LIBCPP_HAS_NO_EXCEPTIONS
|
||||
#ifndef _LIBCPP_NO_EXCEPTIONS
|
||||
throw std::bad_alloc();
|
||||
#else
|
||||
abort();
|
||||
|
|
Loading…
Reference in New Issue