blob: 22af4f5bea7eef58e592912e572576ac2bd792ad [file] [log] [blame]
Andrew Geissler9aee5002022-03-30 16:27:02 +00001From 166198735e9f4fbe91557df1351b3481bcf79e78 Mon Sep 17 00:00:00 2001
2From: Rico Tzschichholz <ricotz@ubuntu.com>
3Date: Sun, 30 Jan 2022 19:54:11 +0100
4Subject: [PATCH 1/2] Util.Cache.Lru: Workaround missing generic type argument
5
6Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/geary/-/commit/0f75e7a84a39492d0748cec2ba6028e08cae3644]
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9 src/client/util/util-cache.vala | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/src/client/util/util-cache.vala b/src/client/util/util-cache.vala
13index f054e32e..ecc275e8 100644
14--- a/src/client/util/util-cache.vala
15+++ b/src/client/util/util-cache.vala
16@@ -12,7 +12,7 @@ public class Util.Cache.Lru<T> : Geary.BaseObject {
17 private class CacheEntry<T> {
18
19
20- public static int lru_compare(CacheEntry<T> a, CacheEntry<T> b) {
21+ public static int lru_compare(CacheEntry a, CacheEntry b) {
22 if (a.key == b.key) {
23 return 0;
24 }
25--
262.35.1
27