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

Unified Diff: include/unordered_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/unordered_map ('k') | include/vector » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/unordered_set
diff --git a/include/unordered_set b/include/unordered_set
index f6ccdc3734f23ddd1ed27a86a342edb86bbcaa41..e7584f9e45d95bdc267b92760c8a84954f6c1890 100644
--- a/include/unordered_set
+++ b/include/unordered_set
@@ -332,7 +332,7 @@ template <class Value, class Hash, class Pred, class Alloc>
_LIBCPP_BEGIN_NAMESPACE_STD
template <class _Value, class _Hash = hash<_Value>, class _Pred = equal_to<_Value>,
- class _Alloc = allocator<_Value> >
+ class _Alloc = counting_allocator<_Value, allocation_group::unordered_set> >
class _LIBCPP_TYPE_VIS_ONLY unordered_set
{
public:
@@ -867,7 +867,7 @@ operator!=(const unordered_set<_Value, _Hash, _Pred, _Alloc>& __x,
}
template <class _Value, class _Hash = hash<_Value>, class _Pred = equal_to<_Value>,
- class _Alloc = allocator<_Value> >
+ class _Alloc = counting_allocator<_Value, allocation_group::unordered_multiset> >
class _LIBCPP_TYPE_VIS_ONLY unordered_multiset
{
public:
« no previous file with comments | « include/unordered_map ('k') | include/vector » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698