Compare function that orders by memory address.
| 100 | |
| 101 | /// Compare function that orders by memory address. |
| 102 | inline static bool SortCompare(const BufferHandle& b1, const BufferHandle& b2) { |
| 103 | return b1.data() < b2.data(); |
| 104 | } |
| 105 | |
| 106 | /// Compare function that orders by memory address. Needs to be inverse of SortCompare() |
| 107 | /// because C++ provides a max-heap. |