From 0cb84fb9036ce7bc7c757a3971fdb0c619d0c011 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Tue, 11 May 2021 09:15:26 +0200 Subject: [PATCH] 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 --- 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(); }