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/libmemunreachable/LeakFolding.h b/libmemunreachable/LeakFolding.h
index e181f27..65e9916 100644
--- a/libmemunreachable/LeakFolding.h
+++ b/libmemunreachable/LeakFolding.h
@@ -81,7 +81,7 @@
void ComputeDAG();
void AccumulateLeaks(SCCInfo* dominator);
- allocator::map<LeakInfo, Range, compare_range> leak_map_;
+ allocator::map<Range, LeakInfo, compare_range> leak_map_;
Graph<LeakInfo> leak_graph_;
allocator::vector<Allocator<SCCInfo>::unique_ptr> leak_scc_;
};