Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Unified Diff: include/set

Issue 2574553002: [counting-allocator] macOS buildtools/third_party/libc++/trunk/ changes.
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/new ('k') | include/string » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/set
diff --git a/include/set b/include/set
index ac69e085241f7e03fb96ce95cdfd655fd76a89af..05024d5e2b5d64a5029529db39b04359e0b7445f 100644
--- a/include/set
+++ b/include/set
@@ -396,7 +396,7 @@ swap(multiset<Key, Compare, Allocator>& x, multiset<Key, Compare, Allocator>& y)
_LIBCPP_BEGIN_NAMESPACE_STD
template <class _Key, class _Compare = less<_Key>,
- class _Allocator = allocator<_Key> >
+ class _Allocator = counting_allocator<_Key, allocation_group::set> >
class _LIBCPP_TYPE_VIS_ONLY set
{
public:
@@ -809,7 +809,7 @@ swap(set<_Key, _Compare, _Allocator>& __x,
}
template <class _Key, class _Compare = less<_Key>,
- class _Allocator = allocator<_Key> >
+ class _Allocator = counting_allocator<_Key, allocation_group::multiset> >
class _LIBCPP_TYPE_VIS_ONLY multiset
{
public:
« no previous file with comments | « include/new ('k') | include/string » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698