commit | 33861da4f54a5062d426bdae8c33b53aa98b2183 | [log] [tgz] |
---|---|---|
author | Eric Fiselier <eric@efcs.ca> | Sat May 07 02:33:25 2016 +0000 |
committer | Eric Fiselier <eric@efcs.ca> | Sat May 07 02:33:25 2016 +0000 |
tree | 957b9a8c8bf7f88386feb39aef48a0a2b86383fb | |
parent | 96e4c23bf1958a666cecdac960d52faab521e6dc [diff] |
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
diff --git a/src/experimental/memory_resource.cpp b/src/experimental/memory_resource.cpp index fe338e0..046ef02 100644 --- a/src/experimental/memory_resource.cpp +++ b/src/experimental/memory_resource.cpp
@@ -50,7 +50,7 @@ protected: virtual void* do_allocate(size_t, size_t) { -#ifndef _LIBCPP_HAS_NO_EXCEPTIONS +#ifndef _LIBCPP_NO_EXCEPTIONS throw std::bad_alloc(); #else abort();