[geary/gnumdk/stable: 17/21] Util.Cache.Lru: Workaround missing generic type argument




commit 7f39b2919be97c0ab88d1c08da5c73159500953b
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sun Jan 30 19:54:11 2022 +0100

    Util.Cache.Lru: Workaround missing generic type argument

 src/client/util/util-cache.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/client/util/util-cache.vala b/src/client/util/util-cache.vala
index f054e32e5..ecc275e84 100644
--- a/src/client/util/util-cache.vala
+++ b/src/client/util/util-cache.vala
@@ -12,7 +12,7 @@ public class Util.Cache.Lru<T> : Geary.BaseObject {
     private class CacheEntry<T> {
 
 
-        public static int lru_compare(CacheEntry<T> a, CacheEntry<T> b) {
+        public static int lru_compare(CacheEntry a, CacheEntry b) {
             if (a.key == b.key) {
                 return 0;
             }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]