aboutsummaryrefslogtreecommitdiff
path: root/include/__sso_allocator
diff options
context:
space:
mode:
Diffstat (limited to 'include/__sso_allocator')
-rw-r--r--include/__sso_allocator4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/__sso_allocator b/include/__sso_allocator
index ca3b937c0138..8147e75ec2c8 100644
--- a/include/__sso_allocator
+++ b/include/__sso_allocator
@@ -15,8 +15,6 @@
#include <type_traits>
#include <new>
-#include <__undef___deallocate>
-
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
#pragma GCC system_header
#endif
@@ -64,7 +62,7 @@ public:
if (__p == (pointer)&buf_)
__allocated_ = false;
else
- _VSTD::__deallocate(__p);
+ _VSTD::__libcpp_deallocate(__p);
}
_LIBCPP_INLINE_VISIBILITY size_type max_size() const throw() {return size_type(~0) / sizeof(_Tp);}