From 5bc7138b3bb2d60b57675f67f8b7725ff5f3a0c0 Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Sat, 8 Apr 2023 18:50:59 +0200 Subject: gee: Fix return-type of HashMap.MapIterator.get_key()/get_value() They didn't match the declarations in Vala.MapIterator interface. --- gee/hashmap.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gee/hashmap.vala b/gee/hashmap.vala index 0c2284466..dbdf436fd 100644 --- a/gee/hashmap.vala +++ b/gee/hashmap.vala @@ -258,13 +258,13 @@ public class Vala.HashMap : Map { return (_node != null); } - public override K? get_key () { + public override K get_key () { assert (_stamp == _map._stamp); assert (_node != null); return _node.key; } - public override V? get_value () { + public override V get_value () { assert (_stamp == _map._stamp); assert (_node != null); return _node.value; -- cgit v1.2.1