summaryrefslogtreecommitdiffstats
path: root/arch/tde-extra/tde-tdeedu/bp000-0cb84fb9.diff
blob: 5dbe6e4924b9f66c09a5b1e5f6e013f807b2b4cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From 0cb84fb9036ce7bc7c757a3971fdb0c619d0c011 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= <francois.andriot@free.fr>
Date: Tue, 11 May 2021 09:15:26 +0200
Subject: Fix FTBFS on Fedora 34
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

error: static assertion failed: comparison object must be invocable as const

Signed-off-by: François Andriot <francois.andriot@free.fr>
---
 kiten/learn.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kiten/learn.cpp b/kiten/learn.cpp
index 94e77b9a..a1b685d4 100644
--- a/kiten/learn.cpp
+++ b/kiten/learn.cpp
@@ -762,7 +762,7 @@ void Learn::qupdate()
 
 struct Learn::scoreCompare 
 {
-	bool operator()(const TQListViewItem* v1, const TQListViewItem* v2)
+	bool operator()(const TQListViewItem* v1, const TQListViewItem* v2) const
 	{
 		return v1->text(4).toInt() < v2->text(4).toInt();
 	}
-- 
cgit v1.2.1