diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2023-04-08 22:39:35 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2023-04-08 22:40:22 +0200 |
commit | b33a6627f4fc96938b6015e05849867c472160a8 (patch) | |
tree | 64c8f92c13b0f3bcc665537829a2c7ec009ca406 | |
parent | 7d332f82c750ba72a6c625f38e4bfd44b786a926 (diff) | |
download | libgee-b33a6627f4fc96938b6015e05849867c472160a8.tar.gz |
Add more missing generic type arguments
-rw-r--r-- | gee/hashmap.vala | 2 | ||||
-rw-r--r-- | gee/hashset.vala | 2 | ||||
-rw-r--r-- | 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<K,V> : Gee.AbstractMap<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; 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<G> : AbstractSet<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; } 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<G> : AbstractBidirList<G>, Queue<G>, Deque<G> { n.next.prev = n; this._head = (owned)n; } else { - weak Node prev = this._head; + weak Node<G> prev = this._head; for (int i = 0; i < index - 1; i++) { prev = prev.next; } |