Commit ef19fe7f authored by Maciej (Matthew) Piechotka's avatar Maciej (Matthew) Piechotka
Browse files

Small improvements to PriorityQueue

parent 08bbf382
......@@ -595,7 +595,7 @@ public class Gee.PriorityQueue<G> : Gee.AbstractQueue<G> {
#endif
}
private void _delete (Node<G> n, out unowned Node<G> prev = null) {
private void _delete (Node<G> n) {
// DecreaseKey(Q, N, infinite)
_decrease_key (n);
......@@ -799,7 +799,6 @@ public class Gee.PriorityQueue<G> : Gee.AbstractQueue<G> {
// Ensure proper sizes of A and B
if (degree >= _a.length) {
int old_length = _a.length;
_a.resize (degree + 1);
_b.resize (degree + 1);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment