summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Andriot <francois.andriot@free.fr>2021-05-11 09:15:26 +0200
committerFrançois Andriot <francois.andriot@free.fr>2021-05-11 11:53:05 +0200
commit0cb84fb9036ce7bc7c757a3971fdb0c619d0c011 (patch)
tree3d4d554e691994a16b1b2fe1b0440eb0774160a2
parenta008ddc5541eeff6eee699d6fbffb79c415ecec1 (diff)
downloadtdeedu-0cb84fb9036ce7bc7c757a3971fdb0c619d0c011.tar.gz
tdeedu-0cb84fb9036ce7bc7c757a3971fdb0c619d0c011.zip
Fix FTBFS on Fedora 34
error: static assertion failed: comparison object must be invocable as const Signed-off-by: François Andriot <francois.andriot@free.fr>
-rw-r--r--kiten/learn.cpp2
1 files changed, 1 insertions, 1 deletions
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();
}