Index: src/zone-containers.h |
diff --git a/src/zone-containers.h b/src/zone-containers.h |
index fc57c04adc56a394241e93380aca9de7cccf328a..8daf0dd657f232f070953f65fbe0930dd484e088 100644 |
--- a/src/zone-containers.h |
+++ b/src/zone-containers.h |
@@ -66,11 +66,13 @@ class ZoneLinkedList : public std::list<T, zone_allocator<T>> { |
// A wrapper subclass std::priority_queue to make it easy to construct one |
// that uses a zone allocator. |
template <typename T, typename Compare = std::less<T>> |
-class ZonePriorityQueue : public std::priority_queue<T, ZoneVector<T>> { |
+class ZonePriorityQueue |
+ : public std::priority_queue<T, ZoneVector<T>, Compare> { |
public: |
// Constructs an empty list. |
explicit ZonePriorityQueue(Zone* zone) |
- : std::priority_queue<T, ZoneVector<T>>(Compare(), ZoneVector<T>(zone)) {} |
+ : std::priority_queue<T, ZoneVector<T>, Compare>(Compare(), |
+ ZoneVector<T>(zone)) {} |
}; |