From d03e037f464a8c2d58f49477c69ced32376a7d00 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Thu, 25 Oct 2018 02:36:31 +0000 Subject: [PATCH] Fix use of __libcpp_deallocate in dynarray git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@345234 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/experimental/dynarray | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/experimental/dynarray b/include/experimental/dynarray index a60c87c3f..00256c90b 100644 --- a/include/experimental/dynarray +++ b/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(__ptr), __alignof(value_type)); + _VSTD::__libcpp_deallocate_unsized(static_cast(__ptr), __alignof(value_type)); } public: