]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gee: Add more missing generic type arguments
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 8 Apr 2023 20:43:41 +0000 (22:43 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 8 Apr 2023 20:45:15 +0000 (22:45 +0200)
gee/hashmap.vala
gee/hashset.vala

index dbdf436fd39a525f85c22e22531934410d739bd7..40dc900b43784a76bc09d4e51efd00d0630ea1f0 100644 (file)
@@ -137,7 +137,7 @@ public class Vala.HashMap<K,V> : Map<K,V> {
                for (int i = 0; i < _array_size; i++) {
                        Node<K,V> node = (owned) _nodes[i];
                        while (node != null) {
-                               Node next = (owned) node.next;
+                               Node<K,V> next = (owned) node.next;
                                node.key = null;
                                node.value = null;
                                node = (owned) next;
index 032811796cbc1d40145e8cb83fb2492e07914e2e..8ebec0393f13380a6dca246633df99615d046f53 100644 (file)
@@ -118,7 +118,7 @@ public class Vala.HashSet<G> : Set<G> {
                for (int i = 0; i < _array_size; i++) {
                        Node<G> node = (owned) _nodes[i];
                        while (node != null) {
-                               Node next = (owned) node.next;
+                               Node<G> next = (owned) node.next;
                                node.key = null;
                                node = (owned) next;
                        }