From b33a6627f4fc96938b6015e05849867c472160a8 Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Sat, 8 Apr 2023 22:39:35 +0200 Subject: [PATCH] Add more missing generic type arguments --- gee/hashmap.vala | 2 +- gee/hashset.vala | 2 +- gee/linkedlist.vala | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gee/hashmap.vala b/gee/hashmap.vala index a7bae9f..19e3980 100644 --- a/gee/hashmap.vala +++ b/gee/hashmap.vala @@ -253,7 +253,7 @@ public class Gee.HashMap : Gee.AbstractMap { for (int i = 0; i < _array_size; i++) { Node node = (owned) _nodes[i]; while (node != null) { - Node next = (owned) node.next; + Node next = (owned) node.next; node.key = null; node.value = null; node = (owned) next; diff --git a/gee/hashset.vala b/gee/hashset.vala index ef6d5a2..bf05519 100644 --- a/gee/hashset.vala +++ b/gee/hashset.vala @@ -210,7 +210,7 @@ public class Gee.HashSet : AbstractSet { for (int i = 0; i < _array_size; i++) { Node node = (owned) _nodes[i]; while (node != null) { - Node next = (owned) node.next; + Node next = (owned) node.next; node.key = null; node = (owned) next; } diff --git a/gee/linkedlist.vala b/gee/linkedlist.vala index aff36b9..976977f 100644 --- a/gee/linkedlist.vala +++ b/gee/linkedlist.vala @@ -233,7 +233,7 @@ public class Gee.LinkedList : AbstractBidirList, Queue, Deque { n.next.prev = n; this._head = (owned)n; } else { - weak Node prev = this._head; + weak Node prev = this._head; for (int i = 0; i < index - 1; i++) { prev = prev.next; } -- GitLab