Default comparators, compares the indicies, not the backing data.
| 41 | |
| 42 | // Default comparators, compares the indicies, not the backing data. |
| 43 | inline bool operator<(const DexFileReference& a, const DexFileReference& b) { |
| 44 | return DexFileReference::Comparator()(a, b); |
| 45 | } |
| 46 | inline bool operator==(const DexFileReference& a, const DexFileReference& b) { |
| 47 | return a.dex_file == b.dex_file && a.index == b.index; |
| 48 | } |