commit | 72cdb6786dd641c75bbf0f1788d6a75434212fad | [log] [tgz] |
---|---|---|
author | Kostya Serebryany <kcc@google.com> | Thu Dec 06 16:22:04 2012 +0000 |
committer | Kostya Serebryany <kcc@google.com> | Thu Dec 06 16:22:04 2012 +0000 |
tree | 89219d46117cbdfad44d122a6e88434a252238dd | |
parent | 3617ad70f3ade71b944b35fa3faaadfb97700dea [diff] |
[sanitizer] POD-ify the allocator cache git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169514 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/sanitizer_common/sanitizer_allocator.h b/lib/sanitizer_common/sanitizer_allocator.h index caf5380..b3039d8 100644 --- a/lib/sanitizer_common/sanitizer_allocator.h +++ b/lib/sanitizer_common/sanitizer_allocator.h
@@ -97,8 +97,7 @@ AllocatorListNode *next; }; -class AllocatorFreeList: public IntrusiveList<AllocatorListNode> { - public: +struct AllocatorFreeList: IntrusiveList<AllocatorListNode> { // Move at most max_count chunks to other_free_list. void BulkAllocate(uptr max_count, AllocatorFreeList *other_free_list) { CHECK(!empty());