commit | 43245b1f3b13326055b9ed42fe08cdba907b264b | [log] [tgz] |
---|---|---|
author | Eric Fiselier <eric@efcs.ca> | Fri Oct 26 17:12:32 2018 +0000 |
committer | Eric Fiselier <eric@efcs.ca> | Fri Oct 26 17:12:32 2018 +0000 |
tree | 04ce681994d0a64a7446918757a2b6763eef02ae | |
parent | 693fbf5c930b720dc6dd86a3ca8c7cfe6ff245e6 [diff] [blame] |
Fix incorrect use of aligned allocation in get_temporary_buffer. llvm-svn: 345403
diff --git a/libcxx/include/memory b/libcxx/include/memory index ef35cc2..783d94c 100644 --- a/libcxx/include/memory +++ b/libcxx/include/memory
@@ -2016,7 +2016,7 @@ __n = __m; while (__n > 0) { -#if !defined(_LIBCPP_HAS_NO_LIBRARY_ALIGNED_ALLOCATION) +#if !defined(_LIBCPP_HAS_NO_ALIGNED_ALLOCATION) if (__is_overaligned_for_new(__alignof(_Tp))) { std::align_val_t __al =