Revert "Fix use of __libcpp_deallocate in dynarray"

This reverts commit r345234 as it depended on the sized deallocation commit.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@345240 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher
2018-10-25 06:43:56 +00:00
parent 1b9ee84408
commit 92d87364ff

View File

@@ -146,7 +146,7 @@ private:
static inline _LIBCPP_INLINE_VISIBILITY
void __deallocate_value(value_type* __ptr ) noexcept {
_VSTD::__libcpp_deallocate_unsized(static_cast<void *>(__ptr), __alignof(value_type));
_VSTD::__libcpp_deallocate(static_cast<void *>(__ptr), __alignof(value_type));
}
public: