Fix allocator::map template argument ordering
allocator::map reversed Key and T from std::map
Bug: 27208635
Change-Id: I4e4db704539d01b060cb948aa573cb674da48c7d
(cherry picked from commit 4c5bccdd863f5369282771a156218041862cc9f1)
diff --git a/HeapWalker.h b/HeapWalker.h
index b338933..7b851c4 100644
--- a/HeapWalker.h
+++ b/HeapWalker.h
@@ -74,7 +74,7 @@
DISALLOW_COPY_AND_ASSIGN(HeapWalker);
Allocator<HeapWalker> allocator_;
- using AllocationMap = allocator::map<AllocationInfo, Range, compare_range>;
+ using AllocationMap = allocator::map<Range, AllocationInfo, compare_range>;
AllocationMap allocations_;
size_t allocation_bytes_;
Range valid_allocations_range_;