diff options
author | François Andriot <francois.andriot@free.fr> | 2021-05-11 09:15:26 +0200 |
---|---|---|
committer | François Andriot <francois.andriot@free.fr> | 2021-05-11 11:53:05 +0200 |
commit | 0cb84fb9036ce7bc7c757a3971fdb0c619d0c011 (patch) | |
tree | 3d4d554e691994a16b1b2fe1b0440eb0774160a2 | |
parent | a008ddc5541eeff6eee699d6fbffb79c415ecec1 (diff) | |
download | tdeedu-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.cpp | 2 |
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(); } |