Revert "Fix use of __libcpp_deallocate in dynarray"
This reverts commit r345234 as it depended on the sized deallocation commit.
llvm-svn: 345240
diff --git a/libcxx/include/experimental/dynarray b/libcxx/include/experimental/dynarray
index 00256c9..a60c87c 100644
--- a/libcxx/include/experimental/dynarray
+++ b/libcxx/include/experimental/dynarray
@@ -146,7 +146,7 @@
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: