diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-05-07 02:33:25 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-05-07 02:33:25 +0000 |
commit | 946c9b4920bd0e22b500aafb33cef21c618132ca (patch) | |
tree | 2b55106b2722777600c12b99e205dd80f8014e59 /libcxx/src/experimental/memory_resource.cpp | |
parent | 27acf7585df295f71c72ab99e9a6bfcd0e008c23 (diff) | |
download | bcm5719-llvm-946c9b4920bd0e22b500aafb33cef21c618132ca.tar.gz bcm5719-llvm-946c9b4920bd0e22b500aafb33cef21c618132ca.zip |
Fix one more usage of _LIBCPP_HAS_NO_EXCEPTIONS
llvm-svn: 268839
Diffstat (limited to 'libcxx/src/experimental/memory_resource.cpp')
-rw-r--r-- | libcxx/src/experimental/memory_resource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/src/experimental/memory_resource.cpp b/libcxx/src/experimental/memory_resource.cpp index fe338e0b9e7..046ef02a4bc 100644 --- a/libcxx/src/experimental/memory_resource.cpp +++ b/libcxx/src/experimental/memory_resource.cpp @@ -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(); |