diff options
| author | Eric Fiselier <eric@efcs.ca> | 2018-10-25 02:36:31 +0000 |
|---|---|---|
| committer | Eric Fiselier <eric@efcs.ca> | 2018-10-25 02:36:31 +0000 |
| commit | 46493ac9b5d6fb632cb10281af922a2158ccf18c (patch) | |
| tree | fbb68d85a510df1a708bd3ff63e9af2385bd044a /libcxx/include/experimental | |
| parent | 56531e7f42b65124e033bc7ba4a44e48d9df0549 (diff) | |
| download | bcm5719-llvm-46493ac9b5d6fb632cb10281af922a2158ccf18c.tar.gz bcm5719-llvm-46493ac9b5d6fb632cb10281af922a2158ccf18c.zip | |
Fix use of __libcpp_deallocate in dynarray
llvm-svn: 345234
Diffstat (limited to 'libcxx/include/experimental')
| -rw-r--r-- | libcxx/include/experimental/dynarray | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/experimental/dynarray b/libcxx/include/experimental/dynarray index a60c87c3f97..00256c90bc6 100644 --- a/libcxx/include/experimental/dynarray +++ b/libcxx/include/experimental/dynarray @@ -146,7 +146,7 @@ private: static inline _LIBCPP_INLINE_VISIBILITY void __deallocate_value(value_type* __ptr ) noexcept { - _VSTD::__libcpp_deallocate(static_cast<void *>(__ptr), __alignof(value_type)); + _VSTD::__libcpp_deallocate_unsized(static_cast<void *>(__ptr), __alignof(value_type)); } public: |

